diff options
Diffstat (limited to 'test/exception-handling.wast.fromBinary')
-rw-r--r-- | test/exception-handling.wast.fromBinary | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/test/exception-handling.wast.fromBinary b/test/exception-handling.wast.fromBinary index 195244930..9c4ebad3b 100644 --- a/test/exception-handling.wast.fromBinary +++ b/test/exception-handling.wast.fromBinary @@ -17,8 +17,10 @@ (func $eh_test (local $0 exnref) (try - (throw $event$0 - (i32.const 0) + (do + (throw $event$0 + (i32.const 0) + ) ) (catch (local.set $0 @@ -37,7 +39,9 @@ ) (block $label$4 (try - (br $label$4) + (do + (br $label$4) + ) (catch (drop (exnref.pop) @@ -47,7 +51,9 @@ ) ) (try - (nop) + (do + (nop) + ) (catch (drop (exnref.pop) @@ -55,7 +61,7 @@ ) ) (try - (block + (do (call $foo) (call $bar) ) @@ -70,7 +76,9 @@ ) (func $subtype_test (try - (nop) + (do + (nop) + ) (catch (drop (exnref.pop) |