nashorn/test/script/error/JDK-8026039.js.EXPECTED
author attila
Wed, 04 Jun 2014 13:08:57 +0200
changeset 24778 2ff5d7041566
parent 20571 f52b0abf5d88
permissions -rw-r--r--
8044638: Tidy up Nashorn codebase for code standards Reviewed-by: lagergren, sundar

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

^