Index: test/message/strict-formal-parameters.out |
diff --git a/test/message/strict-formal-parameters.out b/test/message/strict-formal-parameters.out |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3648d3858690561925d9551d700163709872da3f |
--- /dev/null |
+++ b/test/message/strict-formal-parameters.out |
@@ -0,0 +1,4 @@ |
+*%(basename)s:6: SyntaxError: Strict mode function may not have duplicate parameter names |
+function foo(b, a, a, d) { return a } |
+ ^ |
+SyntaxError: Strict mode function may not have duplicate parameter names |