summaryrefslogtreecommitdiff
path: root/test/passes/dce_all-features.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/dce_all-features.wast')
-rw-r--r--test/passes/dce_all-features.wast9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/passes/dce_all-features.wast b/test/passes/dce_all-features.wast
index 98b2b0ecd..42d23829a 100644
--- a/test/passes/dce_all-features.wast
+++ b/test/passes/dce_all-features.wast
@@ -743,9 +743,10 @@
(func $try_unreachable
(try
- (unreachable)
- (catch
+ (do
+ (unreachable)
)
+ (catch)
)
(call $foo) ;; shouldn't be dce'd
)
@@ -761,7 +762,9 @@
(func $both_unreachable
(try
- (unreachable)
+ (do
+ (unreachable)
+ )
(catch
(unreachable)
)