summaryrefslogtreecommitdiff
path: root/test/passes/code-pushing_all-features.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/code-pushing_all-features.wast')
-rw-r--r--test/passes/code-pushing_all-features.wast8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/passes/code-pushing_all-features.wast b/test/passes/code-pushing_all-features.wast
index 03debf139..725ddf010 100644
--- a/test/passes/code-pushing_all-features.wast
+++ b/test/passes/code-pushing_all-features.wast
@@ -32,7 +32,9 @@
;; to be caught by the inner catch
(local.set $x (i32.const 1))
(try
- (throw $e (i32.const 0))
+ (do
+ (throw $e (i32.const 0))
+ )
(catch
(drop (exnref.pop))
)
@@ -50,7 +52,9 @@
;; the inner catch
(local.set $x (i32.const 1))
(try
- (throw $e (i32.const 0))
+ (do
+ (throw $e (i32.const 0))
+ )
(catch
(rethrow (exnref.pop))
)