--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test/nashorn/script/basic/JDK-8019791.js.EXPECTED Tue Sep 12 19:03:39 2017 +0200
@@ -0,0 +1,6 @@
+SyntaxError:33:Expected ; but found ~
+"" ~ ""
+ ^
+SyntaxError:41:Expected ) but found ~
+function() { if (1~0) return 0; return 1 }
+ ^