summaryrefslogtreecommitdiff
path: root/deps/v8/test/message/fail/arrow-invalid-rest.out
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/message/fail/arrow-invalid-rest.out')
-rw-r--r--deps/v8/test/message/fail/arrow-invalid-rest.out4
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/v8/test/message/fail/arrow-invalid-rest.out b/deps/v8/test/message/fail/arrow-invalid-rest.out
new file mode 100644
index 0000000000..520c67393f
--- /dev/null
+++ b/deps/v8/test/message/fail/arrow-invalid-rest.out
@@ -0,0 +1,4 @@
+*%(basename)s:7: SyntaxError: Rest parameter may not have a default initializer
+var f = (...x = 10) => x;
+ ^
+SyntaxError: Rest parameter may not have a default initializer