summaryrefslogtreecommitdiff
path: root/test/passes/flatten_i64-to-i32-lowering.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/flatten_i64-to-i32-lowering.wast')
-rw-r--r--test/passes/flatten_i64-to-i32-lowering.wast10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/passes/flatten_i64-to-i32-lowering.wast b/test/passes/flatten_i64-to-i32-lowering.wast
index 29323d376..2f3bb37ca 100644
--- a/test/passes/flatten_i64-to-i32-lowering.wast
+++ b/test/passes/flatten_i64-to-i32-lowering.wast
@@ -41,3 +41,13 @@
)
)
)
+(module
+ (global $f (mut i64) (i64.const 0x12345678ABCDEFAF))
+ (global $g (mut i64) (global.get $f))
+ (func $call (param i64))
+ (func "exp"
+ (call $call (global.get $f))
+ (global.set $f (i64.const 0x1122334455667788))
+ )
+)
+