diff options
Diffstat (limited to 'test/passes/simplify-locals-notee.wast')
-rw-r--r-- | test/passes/simplify-locals-notee.wast | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/passes/simplify-locals-notee.wast b/test/passes/simplify-locals-notee.wast index e7b827f55..33f891e61 100644 --- a/test/passes/simplify-locals-notee.wast +++ b/test/passes/simplify-locals-notee.wast @@ -8,9 +8,9 @@ (set_local $x (i32.const 1)) (if (get_local $x) (nop)) (if (get_local $x) (nop)) - (set_local $y (if i32 (i32.const 2) (i32.const 3) (i32.const 4))) + (set_local $y (if (result i32) (i32.const 2) (i32.const 3) (i32.const 4))) (drop (get_local $y)) - (set_local $z (block i32 (i32.const 5))) + (set_local $z (block (result i32) (i32.const 5))) (drop (get_local $z)) (if (i32.const 6) (set_local $a (i32.const 7)) |