Index: test/mjsunit/regress/regress-1213575.js |
diff --git a/test/mjsunit/regress/regress-1213575.js b/test/mjsunit/regress/regress-1213575.js |
index 8c197bcf83aad285068f23b13baa9c43fdb51e7b..fc35b881037df4b9604c26fd981a73d8afbbb95a 100644 |
--- a/test/mjsunit/regress/regress-1213575.js |
+++ b/test/mjsunit/regress/regress-1213575.js |
@@ -28,6 +28,8 @@ |
// Make sure that a const definition does not try |
// to pass 'the hole' to a defined setter. |
+// Flags: --legacy-const |
+ |
this.__defineSetter__('x', function(value) { assertTrue(value === 1); }); |
var caught = false; |