| Index: test/mjsunit/harmony/destructuring.js
|
| diff --git a/test/mjsunit/harmony/destructuring.js b/test/mjsunit/harmony/destructuring.js
|
| index b6eb6eab09e8152047fb07de83ab7141e7e4392d..d058b8a77d2817fb593e69b20b2d6d03d340e023 100644
|
| --- a/test/mjsunit/harmony/destructuring.js
|
| +++ b/test/mjsunit/harmony/destructuring.js
|
| @@ -1131,4 +1131,7 @@
|
| assertEquals("hello", foo);
|
| assertEquals("world", bar);
|
| assertEquals(42, baz);
|
| +
|
| + assertEquals(undefined, eval('try {throw {foo: 1, bar: 2}} catch({foo}) {}'));
|
| + assertEquals(undefined, eval('try {throw [1, 2, 3]} catch([x]) {}'));
|
| })();
|
|
|