Index: test/message/syntactic-tail-call-generator.js |
diff --git a/test/message/syntactic-tail-call-of-new.js b/test/message/syntactic-tail-call-generator.js |
similarity index 81% |
copy from test/message/syntactic-tail-call-of-new.js |
copy to test/message/syntactic-tail-call-generator.js |
index 60adec70275b99dba702e2a2ff97410a4587d1a3..c958875bcba7b202e1436734b68cadcd23276077 100644 |
--- a/test/message/syntactic-tail-call-of-new.js |
+++ b/test/message/syntactic-tail-call-generator.js |
@@ -8,6 +8,7 @@ function f() { |
return 1; |
} |
-function g() { |
- return continue new f() ; |
+function* g() { |
+ 'use strict'; |
+ return continue f(); |
} |