From ca263c00ec8ff3b7c51d066b273eeee50180091b Mon Sep 17 00:00:00 2001 From: Heejin Ahn Date: Thu, 10 Jun 2021 23:44:57 -0700 Subject: [EH] Allow catch/delegate-less trys (#3924) This removes the restriction that `try` should have at least one `catch`/`catch_all`/`delegate`. See WebAssembly/exception-handling#157. --- test/exception-handling.wast.fromBinary | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/exception-handling.wast.fromBinary') diff --git a/test/exception-handling.wast.fromBinary b/test/exception-handling.wast.fromBinary index 851ec0eb4..ff9a71f28 100644 --- a/test/exception-handling.wast.fromBinary +++ b/test/exception-handling.wast.fromBinary @@ -195,6 +195,13 @@ ) ) ) + (try + (do + (throw $event$0 + (i32.const 0) + ) + ) + ) ) (func $delegate-test (try $label$9 -- cgit v1.2.3