| Index: test/mjsunit/es6/regress/regress-4585.js
|
| diff --git a/test/mjsunit/harmony/regress/regress-4585.js b/test/mjsunit/es6/regress/regress-4585.js
|
| similarity index 94%
|
| rename from test/mjsunit/harmony/regress/regress-4585.js
|
| rename to test/mjsunit/es6/regress/regress-4585.js
|
| index ada91c67ca48cd78dcbb2733d2c711fe20cf6405..8ded6464c965ab56a0c546ca98f39ba0ff115b62 100644
|
| --- a/test/mjsunit/harmony/regress/regress-4585.js
|
| +++ b/test/mjsunit/es6/regress/regress-4585.js
|
| @@ -2,8 +2,6 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -// Flags: --harmony-destructuring-bind
|
| -
|
| assertThrows(`for(const { method() {} } = this) {}`, SyntaxError);
|
| assertThrows(`var { method() {} } = this;`, SyntaxError);
|
| assertThrows(`for(const { *method() {} } = this) {}`, SyntaxError);
|
|
|