summaryrefslogtreecommitdiff
path: root/test/exception-handling.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/exception-handling.wast')
-rw-r--r--test/exception-handling.wast7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/exception-handling.wast b/test/exception-handling.wast
index 833010e73..ee5ffbf54 100644
--- a/test/exception-handling.wast
+++ b/test/exception-handling.wast
@@ -131,6 +131,13 @@
)
)
)
+
+ ;; try without catch or delegate
+ (try
+ (do
+ (throw $e-i32 (i32.const 0))
+ )
+ )
)
(func $delegate-test