summaryrefslogtreecommitdiff
path: root/test/ctor-eval/globals.wast.out
diff options
context:
space:
mode:
Diffstat (limited to 'test/ctor-eval/globals.wast.out')
-rw-r--r--test/ctor-eval/globals.wast.out12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/ctor-eval/globals.wast.out b/test/ctor-eval/globals.wast.out
new file mode 100644
index 000000000..1165d9255
--- /dev/null
+++ b/test/ctor-eval/globals.wast.out
@@ -0,0 +1,12 @@
+(module
+ (type $none_=>_i32 (func (result i32)))
+ (global $g1 (mut i32) (i32.const 50))
+ (global $g2 (mut i32) (i32.const 40))
+ (export "keepalive" (func $keepalive))
+ (func $keepalive (result i32)
+ (i32.add
+ (global.get $g1)
+ (global.get $g2)
+ )
+ )
+)