aboutsummaryrefslogtreecommitdiff
path: root/test/script/basic/NASHORN-575.js.EXPECTED
blob: c0d7e3e797aec56278b6c2aaeb45d98d56cce09d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found /
// foo
^
SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found /
/* foo */
^
SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found /
/foo/
^
SyntaxError: Invalid JSON: <json>:1:15 Expected , or } but found /
{"foo" : "bar" // foo }
               ^
SyntaxError: Invalid JSON: <json>:1:15 Expected , or } but found /
{"foo" : "bar" /* foo */ }
               ^
SyntaxError: Invalid JSON: <json>:1:9 Expected json literal but found /
{"foo" : /foo/}
         ^