blob: 9598865794ea93e0c6977d9c4a6f00c3991a4acd [file] [edit]
;;; TOOL: wat2wasm
;;; ERROR: 1
(module (func) (export "foo\ubar" (func 0)))
(;; STDERR ;;;
out/test/parse/bad-string-unicode-escape.txt:3:28: error: bad escape "\ub"
(module (func) (export "foo\ubar" (func 0)))
^^^
out/test/parse/bad-string-unicode-escape.txt:3:24: error: unexpected token "Invalid", expected a quoted string (e.g. "foo").
(module (func) (export "foo\ubar" (func 0)))
^^^^^^^^^^
out/test/parse/bad-string-unicode-escape.txt:3:41: error: unexpected token 0, expected ).
(module (func) (export "foo\ubar" (func 0)))
^
;;; STDERR ;;)