| Index: test/mjsunit/regress/regress-4577.js
|
| diff --git a/test/mjsunit/bugs/bug-4577.js b/test/mjsunit/regress/regress-4577.js
|
| similarity index 68%
|
| rename from test/mjsunit/bugs/bug-4577.js
|
| rename to test/mjsunit/regress/regress-4577.js
|
| index de2f843965de8f0da6244334e722194a4353008f..ea46fdd2b0dd4323f8b15cf89ca633521ec4e103 100644
|
| --- a/test/mjsunit/bugs/bug-4577.js
|
| +++ b/test/mjsunit/regress/regress-4577.js
|
| @@ -11,3 +11,11 @@ function g({arguments}) {
|
| return arguments === 42;
|
| }
|
| assertTrue(g({arguments: 42}));
|
| +
|
| +function foo() {
|
| + let arguments = 2;
|
| + return arguments;
|
| +}
|
| +assertEquals(2, foo());
|
| +
|
| +assertThrows(function(x = arguments, arguments) {}, ReferenceError);
|
|
|