changeset 47216 | 71c04702a3d5 |
parent 24778 | 2ff5d7041566 |
child 47217 | 72e3ae9a25eb |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/nashorn/script/error/JDK-8026039.js.EXPECTED Tue Sep 12 19:03:39 2017 +0200 @@ -0,0 +1,9 @@ +test/script/error/JDK-8026039.js:30:9 "public" cannot be used as function name in strict mode +function public() {"use strict"} + ^ +test/script/error/JDK-8026039.js:32:11 Expected ident but found public +function f(public) {"use strict"} + ^ +test/script/error/JDK-8026039.js:33:0 Expected } but found eof + +^