Index: test/mjsunit/harmony/regress/regress-513474.js |
diff --git a/test/message/formal-parameters-bad-rest.js b/test/mjsunit/harmony/regress/regress-513474.js |
similarity index 80% |
copy from test/message/formal-parameters-bad-rest.js |
copy to test/mjsunit/harmony/regress/regress-513474.js |
index c67e1de93fed808fb0578e9029dabef201ab51e4..ec4bc84a30e25dc31e75194e8f351dea62cdab2c 100644 |
--- a/test/message/formal-parameters-bad-rest.js |
+++ b/test/mjsunit/harmony/regress/regress-513474.js |
@@ -1,7 +1,7 @@ |
// Copyright 2015 the V8 project authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// |
+ |
// Flags: --harmony-rest-parameters |
-function foo(...b, a) { return a } |
+(function(...a) { function f() { eval() } })(); |