Index: test/mjsunit/es6/regress/regress-650172.js |
diff --git a/test/message/for-of-throw-in-body.js b/test/mjsunit/es6/regress/regress-650172.js |
similarity index 64% |
copy from test/message/for-of-throw-in-body.js |
copy to test/mjsunit/es6/regress/regress-650172.js |
index 38b27f38632520e292f66b7ab451df00c2c03b68..d6b534424c371bcc17db7e5be01271e31a74aa01 100644 |
--- a/test/message/for-of-throw-in-body.js |
+++ b/test/mjsunit/es6/regress/regress-650172.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. |
-for (var x of [1, 2, 3]) { throw 42 } |
+var iterator = [].entries().__proto__.__proto__[Symbol.iterator]; |
+print(1/iterator(-1E-300)); |