blob: 46054a5cd97880e9c45f8162ef6549d2cdfbd0fc [file] [log] [blame]
Andrew Topef837fa2017-10-04 22:44:25 -07001// 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
7Debug = debug.Debug
8
9function overflow() {
10 return overflow();
11}
12
13Debug.setBreakOnException();
14assertThrows(overflow, RangeError);