aboutsummaryrefslogtreecommitdiff
path: root/test/script/error/JDK-8008814-1.js.EXPECTED
diff options
context:
space:
mode:
Diffstat (limited to 'test/script/error/JDK-8008814-1.js.EXPECTED')
-rw-r--r--test/script/error/JDK-8008814-1.js.EXPECTED3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/script/error/JDK-8008814-1.js.EXPECTED b/test/script/error/JDK-8008814-1.js.EXPECTED
new file mode 100644
index 00000000..91437255
--- /dev/null
+++ b/test/script/error/JDK-8008814-1.js.EXPECTED
@@ -0,0 +1,3 @@
+test/script/error/JDK-8008814-1.js:32:2 Function declarations can only occur at program or function body level. You should use a function expression here instead.
+ function g() {
+ ^