Index: test/message/super-in-function.js |
diff --git a/test/mjsunit/compiler/regress-451012.js b/test/message/super-in-function.js |
similarity index 76% |
copy from test/mjsunit/compiler/regress-451012.js |
copy to test/message/super-in-function.js |
index bffc8bc5bdfac32bb561a24153d00157b26ac3a5..edaa0e4eadc7befdb7ed28a3e06eaa827c4388f0 100644 |
--- a/test/mjsunit/compiler/regress-451012.js |
+++ b/test/message/super-in-function.js |
@@ -1,12 +1,10 @@ |
// Copyright 2015 the V8 project authors. All rights reserved. |
// 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'; |
-"use strict"; |
function f() { |
- for (let v; v; ) { |
- let x; |
- } |
+ super.x(); |
} |
- |
-f(); |