summaryrefslogtreecommitdiff
path: root/test/parse/module/bad-export-func-name.txt
blob: 201dd607dc4cbd34ab5e0306b9816d69386d7d54 (plain)
1
2
3
4
5
6
7
8
;;; TOOL: wat2wasm
;;; ERROR: 1
(module (export "foo" (func foo)))
(;; STDERR ;;;
out/test/parse/module/bad-export-func-name.txt:3:29: error: unexpected token "foo", expected a numeric index or a name (e.g. 12 or $foo).
(module (export "foo" (func foo)))
                            ^^^
;;; STDERR ;;)