Index: test/message/arrow-invalid-rest.out |
diff --git a/test/message/arrow-invalid-rest.out b/test/message/arrow-invalid-rest.out |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4045f14e785c2701bda51d3cca614765904b6f4c |
--- /dev/null |
+++ b/test/message/arrow-invalid-rest.out |
@@ -0,0 +1,4 @@ |
+*%(basename)s:7: SyntaxError: Rest parameter must be an identifier or destructuring pattern |
+var f = (...x = 10) => x; |
+ ^^^^^^^^^ |
+SyntaxError: Rest parameter must be an identifier or destructuring pattern |