diff options
Diffstat (limited to 'test/unit.fromasm.imprecise.no-opts')
-rw-r--r-- | test/unit.fromasm.imprecise.no-opts | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/test/unit.fromasm.imprecise.no-opts b/test/unit.fromasm.imprecise.no-opts index 736f51222..f49a6f29f 100644 --- a/test/unit.fromasm.imprecise.no-opts +++ b/test/unit.fromasm.imprecise.no-opts @@ -1885,6 +1885,40 @@ ) ) ) + (func $autoDrop (param $x i32) (result i32) + (loop $while-in + (block $while-out + (if + (i32.eq + (get_local $x) + (i32.const 17) + ) + (block + (return + (i32.const 5) + ) + (drop + (call $autoDrop + (i32.const 1) + ) + ) + ) + (block + (br $while-out) + (set_local $x + (call $autoDrop + (i32.const 2) + ) + ) + ) + ) + (br $while-in) + ) + ) + (return + (get_local $x) + ) + ) (func $keepAlive (drop (call $sqrts @@ -1901,6 +1935,11 @@ (f64.const 100) ) ) + (drop + (call $autoDrop + (i32.const 52) + ) + ) ) (func $v (nop) |