Index: test/mjsunit/function-name-eval-shadowed.js |
diff --git a/test/intl/regexp-prepare.js b/test/mjsunit/function-name-eval-shadowed.js |
similarity index 67% |
copy from test/intl/regexp-prepare.js |
copy to test/mjsunit/function-name-eval-shadowed.js |
index dec84110ed02e30bba674538534a069f7d43d39d..70cc4b9c547808a0921ca8111bf90694a49b479c 100644 |
--- a/test/intl/regexp-prepare.js |
+++ b/test/mjsunit/function-name-eval-shadowed.js |
@@ -2,4 +2,4 @@ |
// 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<<<"); |
+assertEquals(200, (function f() { eval("var f = 100"); f = 200; return f })()); |