Index: test/mjsunit/harmony/regress/regress-4395.js |
diff --git a/test/mjsunit/harmony/regress/regress-4395.js b/test/mjsunit/harmony/regress/regress-4395.js |
index fd1eb38df2a7e7871f56ffdf7d4d48067ad04a72..a003856715552b3dbe4f0fdad3bba7ad348294fb 100644 |
--- a/test/mjsunit/harmony/regress/regress-4395.js |
+++ b/test/mjsunit/harmony/regress/regress-4395.js |
@@ -96,3 +96,9 @@ |
new D(); |
})(); |
+ |
+ |
+(function testScopeFlags() { |
+ ((x, y = eval('x')) => assertEquals(42, y))(42); |
+ ((x, {y = eval('x')}) => assertEquals(42, y))(42, {}); |
+})(); |