Index: test/mjsunit/harmony/regress/regress-crbug-621111.js |
diff --git a/test/intl/regexp-prepare.js b/test/mjsunit/harmony/regress/regress-crbug-621111.js |
similarity index 58% |
copy from test/intl/regexp-prepare.js |
copy to test/mjsunit/harmony/regress/regress-crbug-621111.js |
index dec84110ed02e30bba674538534a069f7d43d39d..58a0d5ce3fc30a11c3b5521ff7ab9a6a8b6fe620 100644 |
--- a/test/intl/regexp-prepare.js |
+++ b/test/mjsunit/harmony/regress/regress-crbug-621111.js |
@@ -2,4 +2,5 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-/(\w)(\w)(\w)(\w)(\w)(\w)(\w)(\w)(\w)(\w)/.exec(">>>abcdefghij<<<"); |
+(y = 1[1, [...[]]]) => 1; // will core dump, if not fixed |
+(y = 1[1, [...[]]]) => {}; // will core dump, if not fixed |