summaryrefslogtreecommitdiff
path: root/test/try-body-multiple-insts.wasm.fromBinary
diff options
context:
space:
mode:
Diffstat (limited to 'test/try-body-multiple-insts.wasm.fromBinary')
-rw-r--r--test/try-body-multiple-insts.wasm.fromBinary26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/try-body-multiple-insts.wasm.fromBinary b/test/try-body-multiple-insts.wasm.fromBinary
new file mode 100644
index 000000000..f52a1a3dc
--- /dev/null
+++ b/test/try-body-multiple-insts.wasm.fromBinary
@@ -0,0 +1,26 @@
+(module
+ (type $0 (func))
+ (func $0 (; 0 ;) (type $0)
+ (nop)
+ )
+ (func $1 (; 1 ;) (type $0)
+ (nop)
+ )
+ (func $2 (; 2 ;) (type $0)
+ (local $0 exnref)
+ (try
+ (block
+ (call $0)
+ (call $1)
+ )
+ (catch
+ (drop
+ (exnref.pop)
+ )
+ (call $0)
+ (call $1)
+ )
+ )
+ )
+)
+