Index: test/mjsunit/es6/regress/regress-cr512574.js |
diff --git a/test/message/destructuring-modify-const.js b/test/mjsunit/es6/regress/regress-cr512574.js |
similarity index 76% |
copy from test/message/destructuring-modify-const.js |
copy to test/mjsunit/es6/regress/regress-cr512574.js |
index cabd924b37ea9f178259f4c979c3b3268920c713..2c10e193156550e1f23d35a070027054ba652eb8 100644 |
--- a/test/message/destructuring-modify-const.js |
+++ b/test/mjsunit/es6/regress/regress-cr512574.js |
@@ -3,7 +3,7 @@ |
// found in the LICENSE file. |
// Flags: --harmony-destructuring |
-'use strict'; |
-const { x : x, y : y } = { x : 1, y : 2 }; |
-x++; |
+function f({}) { |
+ for (var v in []); |
+}; |