Index: test/message/generators-throw1.js |
diff --git a/test/message/new-target-escaped.js b/test/message/generators-throw1.js |
similarity index 70% |
copy from test/message/new-target-escaped.js |
copy to test/message/generators-throw1.js |
index f8398bebd4dda6d8568b3f80cbc85ed2c6d6710e..f544d33328508d36e9332295807a371c8c303599 100644 |
--- a/test/message/new-target-escaped.js |
+++ b/test/message/generators-throw1.js |
@@ -2,9 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
// |
-// |
+// Flags: --ignition-generators |
+ |
+function* f() { yield } |
-function f() { |
- return new.t\u0061rget; |
-} |
-var o = new f(); |
+f().throw(42); |