summaryrefslogtreecommitdiff
path: root/test/parse/expr/bad-break-defined-later.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse/expr/bad-break-defined-later.txt')
-rw-r--r--test/parse/expr/bad-break-defined-later.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/parse/expr/bad-break-defined-later.txt b/test/parse/expr/bad-break-defined-later.txt
new file mode 100644
index 00000000..c1879bde
--- /dev/null
+++ b/test/parse/expr/bad-break-defined-later.txt
@@ -0,0 +1,7 @@
+;;; ERROR: 1
+(module (func
+ (break 0)
+ (label (nop))))
+(;; STDERR ;;;
+parse/expr/bad-break-defined-later.txt:3:10: label variable out of range (max 0)
+;;; STDERR ;;)