summaryrefslogtreecommitdiff
path: root/test/break-within-catch.wasm.fromBinary
diff options
context:
space:
mode:
Diffstat (limited to 'test/break-within-catch.wasm.fromBinary')
-rw-r--r--test/break-within-catch.wasm.fromBinary19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/break-within-catch.wasm.fromBinary b/test/break-within-catch.wasm.fromBinary
new file mode 100644
index 000000000..82ab6e717
--- /dev/null
+++ b/test/break-within-catch.wasm.fromBinary
@@ -0,0 +1,19 @@
+(module
+ (type $none_=>_none (func))
+ (func $0
+ (block $label$2
+ (try
+ (do
+ (nop)
+ )
+ (catch
+ (drop
+ (pop exnref)
+ )
+ (br $label$2)
+ )
+ )
+ )
+ )
+)
+