Index: test/message/generators-throw2.js |
diff --git a/test/message/new-target-escaped.js b/test/message/generators-throw2.js |
similarity index 64% |
copy from test/message/new-target-escaped.js |
copy to test/message/generators-throw2.js |
index f8398bebd4dda6d8568b3f80cbc85ed2c6d6710e..b805bbcba17e1ec5d4ccbe8b5e6cfb37711690e2 100644 |
--- a/test/message/new-target-escaped.js |
+++ b/test/message/generators-throw2.js |
@@ -2,9 +2,10 @@ |
// 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(); |
+let g = f(); |
+g.next(); |
+g.throw(42); |