Home | History | Annotate | Download | only in regress
      1 // 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 a segfault because of NULL being accessed.
      6 function f() {
      7   var a = [10];
      8   try {
      9     f();
     10   } catch(e) {
     11     a.map((v) => v + 1);
     12   }
     13 }
     14 f();
     15