jdk-24/nashorn/test/script/basic/JDK-8019814.js.EXPECTED
Athijegannathan Sundararajan 1e6e9dc0c6 8019814: Add regression test for passing cases
Reviewed-by: jlaskey, lagergren
2013-07-03 19:20:29 +05:30

7 lines
292 B
Plaintext

ReferenceError: <function>:1:50 Invalid left hand side for assignment
/*infloop*/while(((function ()4.)([z1,,], [,,]) - true++))switch(1e+81.x) { default: break; }
^
SyntaxError: <function>:1:5 Expected l-value but found )
if(--) y;
^