Index: test/mjsunit/regress/regress-5342.js |
diff --git a/test/intl/regexp-prepare.js b/test/mjsunit/regress/regress-5342.js |
similarity index 63% |
copy from test/intl/regexp-prepare.js |
copy to test/mjsunit/regress/regress-5342.js |
index dec84110ed02e30bba674538534a069f7d43d39d..8cdd808622a0c73c63d41f19d54cce51d9726d0a 100644 |
--- a/test/intl/regexp-prepare.js |
+++ b/test/mjsunit/regress/regress-5342.js |
@@ -2,4 +2,6 @@ |
// 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<<<"); |
+var o = {} |
+Error.captureStackTrace(o); |
+assertEquals(-1, o.stack.indexOf("captureStackTrace")); |