summaryrefslogtreecommitdiff
path: root/test/parse/expr/globalset.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse/expr/globalset.txt')
-rw-r--r--test/parse/expr/globalset.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/parse/expr/globalset.txt b/test/parse/expr/globalset.txt
new file mode 100644
index 00000000..ded23c23
--- /dev/null
+++ b/test/parse/expr/globalset.txt
@@ -0,0 +1,6 @@
+;;; TOOL: wat2wasm
+(module
+ (global (mut f32) (f32.const 1))
+ (func
+ f32.const 2
+ global.set 0))