diff options
Diffstat (limited to 'test/passes/remove-unused-names_code-folding_all-features.wast')
-rw-r--r-- | test/passes/remove-unused-names_code-folding_all-features.wast | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/test/passes/remove-unused-names_code-folding_all-features.wast b/test/passes/remove-unused-names_code-folding_all-features.wast index ad803864e..f62714810 100644 --- a/test/passes/remove-unused-names_code-folding_all-features.wast +++ b/test/passes/remove-unused-names_code-folding_all-features.wast @@ -1194,15 +1194,17 @@ (func $exnref_pop_test (local $exn exnref) (try - (try - (catch - ;; Expressions containing exnref.pop should NOT be taken out and - ;; folded. - (local.set $exn (exnref.pop)) - (drop (i32.const 111)) - (drop (i32.const 222)) - (drop (i32.const 333)) - (unreachable) + (do + (try + (catch + ;; Expressions containing exnref.pop should NOT be taken out and + ;; folded. + (local.set $exn (exnref.pop)) + (drop (i32.const 111)) + (drop (i32.const 222)) + (drop (i32.const 333)) + (unreachable) + ) ) ) (catch |