Index: test/mjsunit/compiler/regress-const.js |
diff --git a/test/mjsunit/compiler/regress-const.js b/test/mjsunit/compiler/regress-const.js |
index aa55d0fd3ae17051a084a6bf28c2257f2abc8495..89b559c3e0574ac8f45874023cc541d99ecceebb 100644 |
--- a/test/mjsunit/compiler/regress-const.js |
+++ b/test/mjsunit/compiler/regress-const.js |
@@ -25,7 +25,7 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-// Flags: --allow-natives-syntax |
+// Flags: --allow-natives-syntax --legacy-const |
// Test const initialization and assignments. |
function f() { |