summaryrefslogtreecommitdiff
path: root/test/parse/module/bad-export-table-undefined.txt
diff options
context:
space:
mode:
authorBen Smith <binji@chromium.org>2016-09-22 17:39:20 -0700
committerBen Smith <binji@chromium.org>2016-09-29 11:37:27 -0700
commitb4d2bc2f3fe925a78a7e1ea061106b1f01e8dba2 (patch)
treef6ae9ce3def03e9945cf2108221b0ab2138fa42a /test/parse/module/bad-export-table-undefined.txt
parentcca0d93b8ba2a6ea101f18927eddfbe5ec726dd0 (diff)
downloadwabt-b4d2bc2f3fe925a78a7e1ea061106b1f01e8dba2.tar.gz
wabt-b4d2bc2f3fe925a78a7e1ea061106b1f01e8dba2.tar.bz2
wabt-b4d2bc2f3fe925a78a7e1ea061106b1f01e8dba2.zip
parse tests for {im,ex}porting tables, etc.
Diffstat (limited to 'test/parse/module/bad-export-table-undefined.txt')
-rw-r--r--test/parse/module/bad-export-table-undefined.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/parse/module/bad-export-table-undefined.txt b/test/parse/module/bad-export-table-undefined.txt
new file mode 100644
index 00000000..86ec83bb
--- /dev/null
+++ b/test/parse/module/bad-export-table-undefined.txt
@@ -0,0 +1,7 @@
+;;; ERROR: 1
+(module (export "foo" (table 0)))
+(;; STDERR ;;;
+parse/module/bad-export-table-undefined.txt:2:30: table variable out of range (max 0)
+(module (export "foo" (table 0)))
+ ^
+;;; STDERR ;;)