summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/closures/bug541239.js
blob: 32e3af1565b4596a47fea53729589e886b81f63a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
function m() {
 var d = 73;

 return (eval("\n\
   (function() {\n\
     return function() {\n\
       yield ((function() {\n\
         print(d);\n\
         return d\n\
       })())\n\
     } ();\n\
   })\n\
 "))();
}

m().next();