| Index: test/mjsunit/regress/regress-620750.js
|
| diff --git a/test/mjsunit/es6/classes-super.js b/test/mjsunit/regress/regress-620750.js
|
| similarity index 55%
|
| copy from test/mjsunit/es6/classes-super.js
|
| copy to test/mjsunit/regress/regress-620750.js
|
| index 7bdf4ba86c1c44c6915a046e7ad48cf463da2c20..ab8fbd98fc7fbe6c04b19dfbc7952fa8d98e32b4 100644
|
| --- a/test/mjsunit/es6/classes-super.js
|
| +++ b/test/mjsunit/regress/regress-620750.js
|
| @@ -2,14 +2,13 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -"use strict";
|
| +// Flags: --es-staging
|
|
|
| -class Test {
|
| - m() {
|
| - super.length = 10;
|
| +function push_a_lot(arr) {
|
| + for (var i = 0; i < 2e4; i++) {
|
| + arr.push(i);
|
| }
|
| + return arr;
|
| }
|
|
|
| -var array = [];
|
| -Test.prototype.m.call(array);
|
| -assertEquals(10, array.length);
|
| +__v_13 = push_a_lot([]);
|
|
|