summaryrefslogtreecommitdiff
path: root/test/interp/spec/if_label_scope.fail.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/interp/spec/if_label_scope.fail.txt')
-rw-r--r--test/interp/spec/if_label_scope.fail.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/interp/spec/if_label_scope.fail.txt b/test/interp/spec/if_label_scope.fail.txt
new file mode 100644
index 00000000..dd8bd926
--- /dev/null
+++ b/test/interp/spec/if_label_scope.fail.txt
@@ -0,0 +1,10 @@
+;;; ERROR: 1
+;;; TOOL: run-interp-spec
+;;; STDIN_FILE: third_party/testsuite/if_label_scope.fail.wast
+(;; STDERR ;;;
+Error running "sexpr-wasm":
+third_party/testsuite/if_label_scope.fail.wast:6:19: undefined label variable "$l"
+ (else (br $l (i32.const 42)))
+ ^^
+
+;;; STDERR ;;)