summaryrefslogtreecommitdiff
path: root/test/parse/expr/bad-loadglobal-empty.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse/expr/bad-loadglobal-empty.txt')
-rw-r--r--test/parse/expr/bad-loadglobal-empty.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/parse/expr/bad-loadglobal-empty.txt b/test/parse/expr/bad-loadglobal-empty.txt
new file mode 100644
index 00000000..bc911760
--- /dev/null
+++ b/test/parse/expr/bad-loadglobal-empty.txt
@@ -0,0 +1,6 @@
+;;; ERROR: 1
+(module (global $n i32)
+ (func (load_global)))
+(;; STDERR ;;;
+parse/expr/bad-loadglobal-empty.txt:3:21: syntax error, unexpected ), expecting INT or VAR
+;;; STDERR ;;)