Index: test/mjsunit/es6/regress/regress-2034.js |
diff --git a/test/mjsunit/es6/regress/regress-2034.js b/test/mjsunit/es6/regress/regress-2034.js |
index 5c738bf84d9fc46b979c90b12114aca2bf944e6d..1b7dac038aa6356dd6066359d2e2bd965a97209b 100644 |
--- a/test/mjsunit/es6/regress/regress-2034.js |
+++ b/test/mjsunit/es6/regress/regress-2034.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: --harmony-weak-collections |
+ |
var key = {}; |
var map = new WeakMap; |
Object.preventExtensions(key); |