blob: 287df0d41ecc7956ea99ef410ea9b03bb9955bdf [file] [log] [blame]
Ben Murdoch4a90d5f2016-03-22 12:00:34 +00001// Copyright 2015 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// This used to trigger crash because of an unhandled stack overflow.
6function f() {
7 var a = [10];
8 try {
9 f();
10 } catch(e) {
11 a.map(v => v + 1);
12 }
13}
14f();