Index: test/message/formal-parameters-bad-rest.out |
diff --git a/test/message/formal-parameters-bad-rest.out b/test/message/formal-parameters-bad-rest.out |
new file mode 100644 |
index 0000000000000000000000000000000000000000..562b6ad49dd3600ef8dcee216c15b4fb83bc5208 |
--- /dev/null |
+++ b/test/message/formal-parameters-bad-rest.out |
@@ -0,0 +1,4 @@ |
+*%(basename)s:7: SyntaxError: Rest parameter must be last formal parameter |
+function foo(...b, a) { return a } |
+ ^ |
+SyntaxError: Rest parameter must be last formal parameter |