Index: test/mjsunit/regress/regress-641.js |
diff --git a/test/mjsunit/regress/regress-641.js b/test/mjsunit/regress/regress-641.js |
index 957caa8ccdb2ea0c184eb16c0ecf185241846c26..c29b2af24231418634cf30ca1cea4908f43ab752 100644 |
--- a/test/mjsunit/regress/regress-641.js |
+++ b/test/mjsunit/regress/regress-641.js |
@@ -27,6 +27,8 @@ |
// Regression test for http://code.google.com/p/v8/issues/detail?id=641. |
+// Flags: --legacy-const |
+ |
function f(){ |
while (window + 1) { |
const window=[,]; |