nashorn/test/script/basic/JDK-8019791.js.EXPECTED
author goetz
Wed, 02 Apr 2014 10:16:46 +0200
changeset 23529 a77755391144
parent 20929 f2bd18181940
permissions -rw-r--r--
8039045: PPC64: need include in adl generated files after 8001532 Reviewed-by: kvn
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
20929
f2bd18181940 8026167: Class cache/reuse of 'eval' scripts results in ClassCastException in some cases.
sundar
parents: 18840
diff changeset
     1
SyntaxError:33:Expected ; but found ~
18840
3e7bff1b7b59 8019791: ~ is a unary operator
sundar
parents:
diff changeset
     2
"" ~ ""
3e7bff1b7b59 8019791: ~ is a unary operator
sundar
parents:
diff changeset
     3
   ^
20929
f2bd18181940 8026167: Class cache/reuse of 'eval' scripts results in ClassCastException in some cases.
sundar
parents: 18840
diff changeset
     4
SyntaxError:41:Expected ) but found ~
18840
3e7bff1b7b59 8019791: ~ is a unary operator
sundar
parents:
diff changeset
     5
function() { if (1~0) return 0; return 1 }
3e7bff1b7b59 8019791: ~ is a unary operator
sundar
parents:
diff changeset
     6
                  ^