Index: test/mjsunit/regress/regress-677055.js |
diff --git a/test/mjsunit/regress/regress-677055.js b/test/mjsunit/regress/regress-677055.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d65cec8edd68dd2e97bcdb3463edd8264dfac2b9 |
--- /dev/null |
+++ b/test/mjsunit/regress/regress-677055.js |
@@ -0,0 +1,11 @@ |
+// 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. |
+ |
+if (this.Intl) { |
+ v5 = new Intl.NumberFormat(); |
+ v9 = new Intl.DateTimeFormat(); |
+ v52 = v9["formatToParts"]; |
+ var v55 = {}; |
+ assertThrows(() => Reflect.apply(v52, v5, v55), TypeError); |
+} |