summaryrefslogtreecommitdiff
path: root/test/parse/expr/bad-getlocal-undefined.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse/expr/bad-getlocal-undefined.txt')
-rw-r--r--test/parse/expr/bad-getlocal-undefined.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/parse/expr/bad-getlocal-undefined.txt b/test/parse/expr/bad-getlocal-undefined.txt
new file mode 100644
index 00000000..ece6a3ea
--- /dev/null
+++ b/test/parse/expr/bad-getlocal-undefined.txt
@@ -0,0 +1,5 @@
+;;; ERROR: 1
+(module (func (get_local 0)))
+(;; STDERR ;;;
+parse/expr/bad-getlocal-undefined.txt:2:26: local variable out of range (max 0)
+;;; STDERR ;;)