nashorn/test/script/nosecurity/parserapi_strict.js.EXPECTED
author dholmes
Wed, 24 Aug 2016 19:54:03 -0400
changeset 40669 252f9d8272af
parent 37732 3673fec68d16
permissions -rw-r--r--
8157904: Atomic::cmpxchg for jbyte is missing a fence on initial failure Reviewed-by: simonis, aph, kbarrett

with_stat.js:2:1 "with" statement cannot be used in strict mode

with({}) {}
 ^
with_stat.js:2:7 Expected ; but found )

with({}) {}
       ^
repeat_param.js:2:18 strict mode function cannot have duplicate parameter name "x"

function func(x, x) {}
                  ^
repeat_prop.js:2:22 Property "foo" already defined

var obj = { foo: 34, foo: 'hello' };
                      ^