summaryrefslogtreecommitdiff
path: root/test/parse/bad-toplevel.txt
blob: 0b7902912b91eeeafbf6d67c043aea92c26be0f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
;;; TOOL: wat2wasm
;;; ERROR: 1
(foo bar)
(;; STDERR ;;;
out/test/parse/bad-toplevel.txt:3:2: error: unexpected token "foo", expected a module field or a module.
(foo bar)
 ^^^
out/test/parse/bad-toplevel.txt:3:6: error: unexpected token bar, expected EOF.
(foo bar)
     ^^^
;;; STDERR ;;)