Index: test/mjsunit/const-declaration.js |
diff --git a/test/mjsunit/const-declaration.js b/test/mjsunit/const-declaration.js |
index e7bb678eb616de30d45b04292029f101cb4efecc..42d03d547d5eff9e1c278197151f1ef12b0a8881 100644 |
--- a/test/mjsunit/const-declaration.js |
+++ b/test/mjsunit/const-declaration.js |
@@ -25,6 +25,8 @@ |
// (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: --legacy-const |
+ |
// Test handling of const variables in various settings. |
(function () { |