Index: test/message/nf-yield-in-generator.js |
diff --git a/test/message/const-decl-no-init2.js b/test/message/nf-yield-in-generator.js |
similarity index 80% |
copy from test/message/const-decl-no-init2.js |
copy to test/message/nf-yield-in-generator.js |
index 586b783d64e8909f7c23df7bbfd696ad0bc45903..ecdaf332421a4f95716375d55da86a8b211ab834 100644 |
--- a/test/message/const-decl-no-init2.js |
+++ b/test/message/nf-yield-in-generator.js |
@@ -2,5 +2,6 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-'use strict'; |
-for (const a; ;) {} |
+function* gen() { |
+ function yield() {} |
+} |