| Index: test/mjsunit/harmony/class-fields-arguments.js
|
| diff --git a/test/message/syntactic-tail-call-in-for-in.js b/test/mjsunit/harmony/class-fields-arguments.js
|
| similarity index 52%
|
| copy from test/message/syntactic-tail-call-in-for-in.js
|
| copy to test/mjsunit/harmony/class-fields-arguments.js
|
| index 8ad7aca54a886b52920dcebfa6a458c0edf72f95..133957b4c1706c7db0d601a1c774e5f0f5a2fbd8 100644
|
| --- a/test/message/syntactic-tail-call-in-for-in.js
|
| +++ b/test/mjsunit/harmony/class-fields-arguments.js
|
| @@ -2,15 +2,13 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -// Flags: --harmony-explicit-tailcalls
|
| -"use strict";
|
| +// Flags: --harmony-class-fields
|
|
|
| -function f() {
|
| - return 1;
|
| -}
|
| -
|
| -function g() {
|
| - for (var v in {a:0}) {
|
| - return continue f() ;
|
| +{
|
| + class C {
|
| + a = (arguments[0] = 0, assertEquals(0, arguments[0]));
|
| + b = assertEquals(arguments[0], undefined);
|
| }
|
| +
|
| + new C;
|
| }
|
|
|