nashorn/test/script/basic/JDK-8019814.js.EXPECTED
author sundar
Thu, 06 Aug 2015 21:50:42 +0530
changeset 32049 af8f6292d54d
parent 18845 6bfb1bcec75e
permissions -rw-r--r--
8133119: Error message associated with TypeError for call and new should include stringified Node Reviewed-by: attila, mhaupt
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
18845
6bfb1bcec75e 8019814: Add regression test for passing cases
sundar
parents:
diff changeset
     1
ReferenceError: <function>:1:50 Invalid left hand side for assignment
6bfb1bcec75e 8019814: Add regression test for passing cases
sundar
parents:
diff changeset
     2
/*infloop*/while(((function ()4.)([z1,,], [,,]) - true++))switch(1e+81.x) { default: break; 	 }
6bfb1bcec75e 8019814: Add regression test for passing cases
sundar
parents:
diff changeset
     3
                                                  ^
6bfb1bcec75e 8019814: Add regression test for passing cases
sundar
parents:
diff changeset
     4
SyntaxError: <function>:1:5 Expected l-value but found )
6bfb1bcec75e 8019814: Add regression test for passing cases
sundar
parents:
diff changeset
     5
if(--) y;
6bfb1bcec75e 8019814: Add regression test for passing cases
sundar
parents:
diff changeset
     6
     ^