Index: test/mjsunit/regress/regress-crbug-652186-global.js |
diff --git a/test/message/destructuring-modify-const.js b/test/mjsunit/regress/regress-crbug-652186-global.js |
similarity index 71% |
copy from test/message/destructuring-modify-const.js |
copy to test/mjsunit/regress/regress-crbug-652186-global.js |
index 5575ae9267606b3ccf036f2c5edae19262b1c78a..0e869e2ff002839e07e8bba94ad5e8797aa16124 100644 |
--- a/test/message/destructuring-modify-const.js |
+++ b/test/mjsunit/regress/regress-crbug-652186-global.js |
@@ -2,8 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// |
-'use strict'; |
+// Flags: --always-opt |
-const { x : x, y : y } = { x : 1, y : 2 }; |
-x++; |
+x = 1; |
+print(eval("eval('var x = 2'); x;")); |