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 var x = 0;
      6 function a() {
      7   eval("");
      8   return (function() {
      9     eval("");
     10     return (function() {
     11       eval("");
     12       return (function() {
     13         eval("");
     14         return (function() {
     15           eval("");
     16           return (function() {
     17             eval("");
     18             return (function() {
     19               eval("");
     20               return (function() {
     21                 eval("");
     22                 return x;
     23               })();
     24             }) ();
     25           })();
     26         })();
     27       })();
     28     })();
     29   })();
     30 }
     31 assertEquals(a(), 0);
     32