Index: test/message/no-legacy-const-3.js |
diff --git a/test/mjsunit/regress/regress-smi-scanning.js b/test/message/no-legacy-const-3.js |
similarity index 81% |
copy from test/mjsunit/regress/regress-smi-scanning.js |
copy to test/message/no-legacy-const-3.js |
index 56cf9f9a2e60dde53b9be5852d571c6d9cd3a4ca..6981571e62254d6e9e4c4e6fa4e8151dec894c92 100644 |
--- a/test/mjsunit/regress/regress-smi-scanning.js |
+++ b/test/message/no-legacy-const-3.js |
@@ -1,7 +1,7 @@ |
// 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: --no-legacy-const |
-x = 2 |
-3; |
-assertEquals(2, x); |
+const |