Index: test/mjsunit/regress/regress-552302.js |
diff --git a/test/message/arrow-param-after-rest-2.js b/test/mjsunit/regress/regress-552302.js |
similarity index 58% |
copy from test/message/arrow-param-after-rest-2.js |
copy to test/mjsunit/regress/regress-552302.js |
index c01cec8ad4f412c97797e07e946d1730a6513bcc..d4a1f2448ee2d3f8c77cea5b37db47b042e04bad 100644 |
--- a/test/message/arrow-param-after-rest-2.js |
+++ b/test/mjsunit/regress/regress-552302.js |
@@ -2,6 +2,6 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
// |
-// Flags: --harmony-rest-parameters |
+// Flags: --harmony-destructuring --allow-natives-syntax |
-(w, ...x, y) => 10 |
+assertThrows('var %OptimizeFunctionOnNextCall()', SyntaxError); |