diff options
Diffstat (limited to 'test/passes/remove-unused-module-elements_all-features.wast')
-rw-r--r-- | test/passes/remove-unused-module-elements_all-features.wast | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/test/passes/remove-unused-module-elements_all-features.wast b/test/passes/remove-unused-module-elements_all-features.wast index 283e539fd..57d376d31 100644 --- a/test/passes/remove-unused-module-elements_all-features.wast +++ b/test/passes/remove-unused-module-elements_all-features.wast @@ -271,13 +271,15 @@ (import "env" "e" (event $e-import (attr 0) (param i32))) (start $start) (func $start (local $exn exnref) (; 0 ;) - (throw $e-throw (i32.const 0)) - (catch - (local.set $exn (exnref.pop)) - (drop - (block $l0 (result i32) - (rethrow - (br_on_exn $l0 $e-bronexn (local.get $exn)) + (try + (throw $e-throw (i32.const 0)) + (catch + (local.set $exn (exnref.pop)) + (drop + (block $l0 (result i32) + (rethrow + (br_on_exn $l0 $e-bronexn (local.get $exn)) + ) ) ) ) |