Index: test/mjsunit/regress/regress-554865.js |
diff --git a/test/message/regress/regress-3995.js b/test/mjsunit/regress/regress-554865.js |
similarity index 65% |
copy from test/message/regress/regress-3995.js |
copy to test/mjsunit/regress/regress-554865.js |
index ba84bc096527cc242b9ad43983b42eec0462c43c..9b66d79b35f23000dd7f5dcbf4aa2f11fda41163 100644 |
--- a/test/message/regress/regress-3995.js |
+++ b/test/mjsunit/regress/regress-554865.js |
@@ -1,7 +1,10 @@ |
// 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-default-parameters |
(function() { |
- throw new Error("boom"); |
+ var x = {}; |
+ ((y = [42]) => assertEquals(42, y[0]))(); |
})(); |