summaryrefslogtreecommitdiff
path: root/test/passes/optimize-added-constants_low-memory-unused.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/optimize-added-constants_low-memory-unused.wast')
-rw-r--r--test/passes/optimize-added-constants_low-memory-unused.wast4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/passes/optimize-added-constants_low-memory-unused.wast b/test/passes/optimize-added-constants_low-memory-unused.wast
index ac7d77fc4..4b40a0f85 100644
--- a/test/passes/optimize-added-constants_low-memory-unused.wast
+++ b/test/passes/optimize-added-constants_low-memory-unused.wast
@@ -303,7 +303,9 @@
(local $x i32)
(local $y i32)
(if (local.get $z)
- (local.set $y (i32.const -1))
+ (then
+ (local.set $y (i32.const -1))
+ )
)
(local.set $x
(i32.add