summaryrefslogtreecommitdiff
path: root/test/parse/bad-string-unicode-escape-short.txt
blob: c9e65566daa05d43ffcef5aba8734a525d9b625b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
;;; TOOL: wat2wasm
;;; ERROR: 1
(module (func) (export "foo\u{}bar" (func 0)))
(;; STDERR ;;;
out/test/parse/bad-string-unicode-escape-short.txt:3:28: error: bad escape "\u{}"
(module (func) (export "foo\u{}bar" (func 0)))
                           ^^^^
out/test/parse/bad-string-unicode-escape-short.txt:3:24: error: unexpected token "Invalid", expected a quoted string (e.g. "foo").
(module (func) (export "foo\u{}bar" (func 0)))
                       ^^^^^^^^^^^^
out/test/parse/bad-string-unicode-escape-short.txt:3:43: error: unexpected token 0, expected ).
(module (func) (export "foo\u{}bar" (func 0)))
                                          ^
;;; STDERR ;;)