Index: test/mjsunit/regress/regress-3138.js |
diff --git a/test/mjsunit/regress/regress-3138.js b/test/mjsunit/regress/regress-3138.js |
index acb121d2bdbb0c30b5dedababf9a8287a7d55288..6f0430c85591ddaf721d7f197714afbd4b5e50ba 100644 |
--- a/test/mjsunit/regress/regress-3138.js |
+++ b/test/mjsunit/regress/regress-3138.js |
@@ -2,6 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+// Flags: --legacy-const |
+ |
(function f(){ |
assertEquals("function", typeof f); |
})(); |