| Index: test/mjsunit/regress/regress-4870.js
|
| diff --git a/test/mjsunit/regress/regress-4870.js b/test/mjsunit/regress/regress-4870.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3d52015c911b7b4482539d0266768803ed53937c
|
| --- /dev/null
|
| +++ b/test/mjsunit/regress/regress-4870.js
|
| @@ -0,0 +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.
|
| +
|
| +assertThrows(() => Object.getOwnPropertyDescriptor(Intl.Collator.prototype,
|
| + 'compare')
|
| + .get.call(new Intl.DateTimeFormat())('a', 'b'),
|
| + TypeError)
|
|
|