summaryrefslogtreecommitdiff
path: root/test/parse/module/bad-module-multi.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse/module/bad-module-multi.txt')
-rw-r--r--test/parse/module/bad-module-multi.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/parse/module/bad-module-multi.txt b/test/parse/module/bad-module-multi.txt
new file mode 100644
index 00000000..10d8102a
--- /dev/null
+++ b/test/parse/module/bad-module-multi.txt
@@ -0,0 +1,10 @@
+;;; ERROR: 1
+(module (func))
+
+;; Can't have two modules in a .wat file.
+(module)
+(;; STDERR ;;;
+out/test/parse/module/bad-module-multi.txt:5:1: error: unexpected token (, expected EOF.
+(module)
+^
+;;; STDERR ;;)