Index: test/message/nf-yield-strict-in-generator.js |
diff --git a/test/message/super-in-function.js b/test/message/nf-yield-strict-in-generator.js |
similarity index 75% |
copy from test/message/super-in-function.js |
copy to test/message/nf-yield-strict-in-generator.js |
index f2e2342c31b9a3ba001555bcf484d0c773fbb79e..7e87881bedcf696cf1c2156d3cad7fadc4c6a02b 100644 |
--- a/test/message/super-in-function.js |
+++ b/test/message/nf-yield-strict-in-generator.js |
@@ -2,9 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
- |
-'use strict'; |
- |
-function f() { |
- super.x(); |
+function* gen() { |
+ "use strict"; |
+ function yield() {} |
} |