Index: test/message/formal-parameters-trailing-comma.out |
diff --git a/test/message/formal-parameters-trailing-comma.out b/test/message/formal-parameters-trailing-comma.out |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4b930eceae1709998469bb1ffaf7be57ef01f042 |
--- /dev/null |
+++ b/test/message/formal-parameters-trailing-comma.out |
@@ -0,0 +1,4 @@ |
+*%(basename)s:5: SyntaxError: Unexpected token ) |
+function foo(b, a, a,) { return a } |
+ ^ |
+SyntaxError: Unexpected token ) |