Chromium Code Reviews| Index: test/message/try-catch-variable-conflict.js |
| diff --git a/test/mjsunit/harmony/regress/regress-517455.js b/test/message/try-catch-variable-conflict.js |
| similarity index 84% |
| copy from test/mjsunit/harmony/regress/regress-517455.js |
| copy to test/message/try-catch-variable-conflict.js |
| index a59fa181b7aac448df06f2ec0b5c90f32c048981..9b0749b28caaf35af16d9f2f47b7538eabfefc63 100644 |
| --- a/test/mjsunit/harmony/regress/regress-517455.js |
| +++ b/test/message/try-catch-variable-conflict.js |
| @@ -4,5 +4,7 @@ |
| // |
| // Flags: --harmony-destructuring |
| -function f({x = ""}) { eval(x) } |
| -f({}) |
| +try { |
| +} catch ({x}) { |
| + var x; |
| +} |