| 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 67%
|
| rename from test/mjsunit/bugs/bug-4577.js
|
| rename to test/mjsunit/regress/regress-4577.js
|
| index de2f843965de8f0da6244334e722194a4353008f..dc2fde4c99d284479b37d6a2e49e7581dcbd4f58 100644
|
| --- a/test/mjsunit/bugs/bug-4577.js
|
| +++ b/test/mjsunit/regress/regress-4577.js
|
| @@ -11,3 +11,14 @@ function g({arguments}) {
|
| return arguments === 42;
|
| }
|
| assertTrue(g({arguments: 42}));
|
| +
|
| +function foo() {
|
| + let arguments = 2;
|
| + return arguments;
|
| +}
|
| +assertEquals(2, foo());
|
| +
|
| +function bar(x = arguments, arguments) {
|
| + return x;
|
| +}
|
| +assertThrows(bar());
|
|
|