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