diff options
Diffstat (limited to 'test/unit.fromasm.clamp')
-rw-r--r-- | test/unit.fromasm.clamp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/unit.fromasm.clamp b/test/unit.fromasm.clamp index 58cf67a0d..deec92f97 100644 --- a/test/unit.fromasm.clamp +++ b/test/unit.fromasm.clamp @@ -24,6 +24,7 @@ (global $Int (mut i32) (i32.const 0)) (global $Double (mut f64) (f64.const 0)) (global $n (mut i32) (global.get $n$asm2wasm$import)) + (global $nonZero (mut i32) (i32.const 1337)) (global $exportedNumber i32 (i32.const 42)) (export "big_negative" (func $big_negative)) (export "pick" (func $big_negative)) @@ -1238,6 +1239,12 @@ ) ) ) + (global.set $nonZero + (i32.add + (global.get $nonZero) + (i32.const 1) + ) + ) ) (func $vi (; 57 ;) (; has Stack IR ;) (param $0 i32) (nop) |