summaryrefslogtreecommitdiff
path: root/test/exception-handling.wast.from-wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/exception-handling.wast.from-wast')
-rw-r--r--test/exception-handling.wast.from-wast5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/exception-handling.wast.from-wast b/test/exception-handling.wast.from-wast
index 93945c39c..f1826ccb6 100644
--- a/test/exception-handling.wast.from-wast
+++ b/test/exception-handling.wast.from-wast
@@ -1,8 +1,10 @@
(module
(type $none_=>_none (func))
(type $i32_=>_none (func (param i32)))
+ (type $anyref_=>_none (func (param anyref)))
(type $exnref_=>_exnref (func (param exnref) (result exnref)))
(event $e0 (attr 0) (param i32))
+ (event $e1 (attr 0) (param anyref))
(func $exnref_test (; 0 ;) (param $0 exnref) (result exnref)
(local.get $0)
)
@@ -81,5 +83,8 @@
)
)
)
+ (throw $e1
+ (ref.null)
+ )
)
)