Regression test for crbug 517455
authorrossberg <rossberg@chromium.org>
Fri, 7 Aug 2015 13:32:27 +0000 (06:32 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 7 Aug 2015 13:32:46 +0000 (13:32 +0000)
Was fixed by https://chromium.googlesource.com/v8/v8/+/826f8da55fb868a365d047a4a653eb8ff2bfc14e

R=mstarzinger@chromium.org
BUG=517455
LOG=N

Review URL: https://codereview.chromium.org/1280953002

Cr-Commit-Position: refs/heads/master@{#30069}

test/mjsunit/harmony/regress/regress-517455.js [new file with mode: 0644]

diff --git a/test/mjsunit/harmony/regress/regress-517455.js b/test/mjsunit/harmony/regress/regress-517455.js
new file mode 100644 (file)
index 0000000..a59fa18
--- /dev/null
@@ -0,0 +1,8 @@
+// Copyright 2015 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+//
+// Flags: --harmony-destructuring
+
+function f({x = ""}) { eval(x) }
+f({})