nashorn/test/script/basic/JDK-8019814.js.EXPECTED
author hannesw
Wed, 25 Jun 2014 14:36:24 +0200
changeset 25243 7a1edca6ce94
parent 18845 6bfb1bcec75e
permissions -rw-r--r--
8048079: Persistent code store is broken after optimistic types merge Reviewed-by: sundar, jlaskey, attila
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
     ^