Andrew Top | ef837fa | 2017-10-04 22:44:25 -0700 | [diff] [blame] | 1 | // Copyright 2016 the V8 project authors. All rights reserved. |
2 | // Use of this source code is governed by a BSD-style license that can be | ||||
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | // Flags: --stack-size=100 | ||||
6 | |||||
7 | Debug = debug.Debug | ||||
8 | |||||
9 | function overflow() { | ||||
10 | return overflow(); | ||||
11 | } | ||||
12 | |||||
13 | Debug.setBreakOnException(); | ||||
14 | assertThrows(overflow, RangeError); |