summaryrefslogtreecommitdiff
path: root/test/lit/passes/vacuum-gc.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit/passes/vacuum-gc.wast')
-rw-r--r--test/lit/passes/vacuum-gc.wast10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/lit/passes/vacuum-gc.wast b/test/lit/passes/vacuum-gc.wast
index be49bf1cf..27cd6f52d 100644
--- a/test/lit/passes/vacuum-gc.wast
+++ b/test/lit/passes/vacuum-gc.wast
@@ -51,10 +51,14 @@
;; synthesize and allocate a new struct value. Vacuum should not error
;; on this case, though. Instead, the end result of this function should
;; simply be empty, as everything here can be vacuumed away.
- (block (result (ref ${}))
- (struct.new ${})
+ (then
+ (block (result (ref ${}))
+ (struct.new ${})
+ )
+ )
+ (else
+ (unreachable)
)
- (unreachable)
)
)
)