summaryrefslogtreecommitdiff
path: root/testsuite/tests/wasm/should_run/control-flow/src/panic2.cmm
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/wasm/should_run/control-flow/src/panic2.cmm')
-rw-r--r--testsuite/tests/wasm/should_run/control-flow/src/panic2.cmm7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/wasm/should_run/control-flow/src/panic2.cmm b/testsuite/tests/wasm/should_run/control-flow/src/panic2.cmm
new file mode 100644
index 0000000000..79f8ebc32f
--- /dev/null
+++ b/testsuite/tests/wasm/should_run/control-flow/src/panic2.cmm
@@ -0,0 +1,7 @@
+ex10 (bits32 n) {
+ C:
+ if (n > 3) { goto D; } else { goto E; }
+ D:
+ E:
+ return(333);
+}