Index: test/mjsunit/const-eval-init.js |
diff --git a/test/mjsunit/const-eval-init.js b/test/mjsunit/const-eval-init.js |
index 50e3a8d0be2aee31eb024d8020fe64473b75386b..a7e1fef6e745908246098092078abe2ff4a85cd5 100644 |
--- a/test/mjsunit/const-eval-init.js |
+++ b/test/mjsunit/const-eval-init.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 the handling of initialization of deleted const variables. |
// This only makes sense in local scopes since the declaration and |