summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/closures/bug540242.js
blob: 56c1a5a3143634804c1938c0a4cd97ee7c5412d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
for (j = 0; j < 1; j++) {
 var f = eval("\
   (function() {\
     for (var a = 0; a < 8; ++a) {\
       if (a % 3 == 2) {\
         eval(\"\
           for(b in[0,0,0,0]) {\
             print()\
           }\
         \")\
       }\
       gc()\
     }\
   })\
 ");
 f()
}