jdk-24/test/nashorn/script/error/JDK-8026039.js.EXPECTED
Erik Joelsson 72c4ec5462 8187444: Forest Consolidation: Make build work
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Reviewed-by: darcy, ihse
2017-09-12 19:03:56 +02:00

10 lines
346 B
Plaintext

test/nashorn/script/error/JDK-8026039.js:30:9 "public" cannot be used as function name in strict mode
function public() {"use strict"}
^
test/nashorn/script/error/JDK-8026039.js:32:11 Expected ident but found public
function f(public) {"use strict"}
^
test/nashorn/script/error/JDK-8026039.js:33:0 Expected } but found eof
^