Index: test/mjsunit/regress/regress-799761.js |
diff --git a/test/mjsunit/regress/regress-799761.js b/test/mjsunit/regress/regress-799761.js |
index d3be1bdadf7c4d98988409905d8b87c5ececd1d6..7d09da56fa9a585ee0ce7fc9def97eb465c48699 100644 |
--- a/test/mjsunit/regress/regress-799761.js |
+++ b/test/mjsunit/regress/regress-799761.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 |
+ |
// const variables should be read-only |
const c = 42; |
c = 87; |