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