nashorn/test/script/basic/NASHORN-98.js.EXPECTED
author sundar
Thu, 08 Aug 2013 16:38:32 +0530
changeset 19456 8cc345d620c8
parent 16147 e63b63819133
child 20929 f2bd18181940
permissions -rw-r--r--
8022524: Memory leaks in nashorn sources and tests found by jhat analysis Reviewed-by: attila, hannesw

SyntaxError: test/script/basic/NASHORN-98.js#32<eval>:1:13 Expected comma but found decimal
var x = [ 23 34 ]
             ^
SyntaxError: test/script/basic/NASHORN-98.js#41<eval>:1:18 Expected comma but found ident
var x = { foo: 33 bar: 'hello' }
                  ^