Index: test/mjsunit/harmony/regress/regress-517455.js |
diff --git a/test/mjsunit/es6/regress/regress-cr512574.js b/test/mjsunit/harmony/regress/regress-517455.js |
similarity index 82% |
copy from test/mjsunit/es6/regress/regress-cr512574.js |
copy to test/mjsunit/harmony/regress/regress-517455.js |
index 2c10e193156550e1f23d35a070027054ba652eb8..a59fa181b7aac448df06f2ec0b5c90f32c048981 100644 |
--- a/test/mjsunit/es6/regress/regress-cr512574.js |
+++ b/test/mjsunit/harmony/regress/regress-517455.js |
@@ -1,9 +1,8 @@ |
// 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-destructuring |
-function f({}) { |
- for (var v in []); |
-}; |
+function f({x = ""}) { eval(x) } |
+f({}) |