diff options
Diffstat (limited to 'test/exception-handling.wast')
-rw-r--r-- | test/exception-handling.wast | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/exception-handling.wast b/test/exception-handling.wast index 0929daeec..101136df2 100644 --- a/test/exception-handling.wast +++ b/test/exception-handling.wast @@ -1,5 +1,6 @@ (module (event $e0 (attr 0) (param i32)) + (event $e1 (attr 0) (param anyref)) (func $exnref_test (param $0 exnref) (result exnref) (local.get $0) @@ -54,7 +55,7 @@ ) ) - ;; Test subtype relationship for br_on_exn and rethrow + ;; Test subtype relationship (func $subtype_test (try (catch @@ -68,5 +69,7 @@ ) ) ) + + (throw $e1 (ref.null)) ) ) |