Index: test/mjsunit/harmony/regress/regress-4395-global-eval.js |
diff --git a/test/message/arrow-missing.js b/test/mjsunit/harmony/regress/regress-4395-global-eval.js |
similarity index 50% |
copy from test/message/arrow-missing.js |
copy to test/mjsunit/harmony/regress/regress-4395-global-eval.js |
index c78bef9cd67f2b799a54c44d1656c5fc0e6d93e5..6cc6f0e747cf42233048c71f50090d4fe1c4bb2c 100644 |
--- a/test/message/arrow-missing.js |
+++ b/test/mjsunit/harmony/regress/regress-4395-global-eval.js |
@@ -2,6 +2,7 @@ |
// 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-default-parameters --harmony-destructuring |
-function foo() { return(); } |
+((x, y = eval('x')) => assertEquals(42, y))(42); |
+((x, {y = eval('x')}) => assertEquals(42, y))(42, {}); |