From bced89d2986bde990bf9bf52306e55772b02707e Mon Sep 17 00:00:00 2001 From: Heejin Ahn Date: Tue, 15 Sep 2020 23:46:32 +0900 Subject: Fix inner block problem with 'catch' (#3129) Fixes #3114. --- test/break-within-catch.wasm.fromBinary | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 test/break-within-catch.wasm.fromBinary (limited to 'test/break-within-catch.wasm.fromBinary') 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) + ) + ) + ) + ) +) + -- cgit v1.2.3