Index: test/message/for-of-loop-initializers-strict.js |
diff --git a/test/message/class-constructor-accessor.js b/test/message/for-of-loop-initializers-strict.js |
similarity index 71% |
copy from test/message/class-constructor-accessor.js |
copy to test/message/for-of-loop-initializers-strict.js |
index edc3c131697ed513a7c7a15c95e9aae2c68788ad..5b3dddc3c9d50f58c01db71ead8402119b7d4c39 100644 |
--- a/test/message/class-constructor-accessor.js |
+++ b/test/message/for-of-loop-initializers-strict.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: --harmony-classes |
'use strict'; |
-class C { |
- get constructor() {} |
+function test() { |
+ for (var x = void 0 of [1, 2, 3]) { |
+ return x; |
+ } |
} |