diff options
Diffstat (limited to 'test/parse/module/bad-module-with-assert.txt')
-rw-r--r-- | test/parse/module/bad-module-with-assert.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/parse/module/bad-module-with-assert.txt b/test/parse/module/bad-module-with-assert.txt new file mode 100644 index 00000000..5145f611 --- /dev/null +++ b/test/parse/module/bad-module-with-assert.txt @@ -0,0 +1,10 @@ +;;; ERROR: 1 +(module (func (export "f"))) + +;; Can't use assert_return when parsing a .wat file. +(assert_return (invoke "f")) +(;; STDERR ;;; +out/test/parse/module/bad-module-with-assert.txt:5:1: error: unexpected token (, expected EOF. +(assert_return (invoke "f")) +^ +;;; STDERR ;;) |