| Index: test/mjsunit/regress/regress-5783.js
|
| diff --git a/test/message/function-sent-escaped.js b/test/mjsunit/regress/regress-5783.js
|
| similarity index 55%
|
| copy from test/message/function-sent-escaped.js
|
| copy to test/mjsunit/regress/regress-5783.js
|
| index aa17258f854a96a65617feb572389464677a81ce..828bb3dc56f1e1d609f5178f5f1e3b97db97510b 100644
|
| --- a/test/message/function-sent-escaped.js
|
| +++ b/test/mjsunit/regress/regress-5783.js
|
| @@ -1,10 +1,8 @@
|
| // Copyright 2016 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-function-sent
|
|
|
| -function* f() {
|
| - return function.s\u0065nt;
|
| -}
|
| -for (var i of f()) print(i);
|
| +class C {}
|
| +class D extends C { constructor(...args) { super(...args, 75) } }
|
| +D.__proto__ = null;
|
| +assertThrows(() => new D(), TypeError);
|
|
|