Index: test/mjsunit/regress/regress-447561.js |
diff --git a/test/mjsunit/compiler/regress-ntl-effect.js b/test/mjsunit/regress/regress-447561.js |
similarity index 53% |
copy from test/mjsunit/compiler/regress-ntl-effect.js |
copy to test/mjsunit/regress/regress-447561.js |
index 708fe32828c9197dfa3d8c371ab01cbc1ad3317a..0d7a321de0255805485053e6dfd618ad7fec6261 100644 |
--- a/test/mjsunit/compiler/regress-ntl-effect.js |
+++ b/test/mjsunit/regress/regress-447561.js |
@@ -2,15 +2,9 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// Flags: --allow-natives-syntax |
- |
-function g() { |
- throw 0; |
-} |
- |
-function f() { |
- g(); |
- while (1) {} |
-} |
- |
-assertThrows(function () { f(); }); |
+__proto__ = /foo/gi; |
+assertEquals("foo", source); |
+assertTrue(global); |
+assertTrue(ignoreCase); |
+assertFalse(multiline); |
+assertEquals(0, lastIndex); |