changeset 47216 | 71c04702a3d5 |
parent 17259 | a8d0cb25d725 |
child 47217 | 72e3ae9a25eb |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/nashorn/script/error/JDK-8008814-2.js.EXPECTED Tue Sep 12 19:03:39 2017 +0200 @@ -0,0 +1,3 @@ +test/script/error/JDK-8008814-2.js:32:2 In strict mode, function declarations can only occur at program or function body level. You should use a function expression here instead. + function g() { + ^