Chromium Code Reviews| Index: test/mjsunit/regress/regress-689016.js |
| diff --git a/test/mjsunit/regress/regress-689016.js b/test/mjsunit/regress/regress-689016.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..da31350fed0464301850287c5f90dabfed0b5e03 |
| --- /dev/null |
| +++ b/test/mjsunit/regress/regress-689016.js |
| @@ -0,0 +1,12 @@ |
| +// Copyright 2017 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. |
| + |
| +(function() { |
| + function f() {} |
| + |
| + assertThrows(function() { |
| + f(...Array(1000000)); |
| + }, RangeError); |
| + |
| +})(); |