summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug692211.js
blob: b9df2253250e98bb7e3b1be66015fdca84479010 (plain)
1
2
3
4
5
6
7
8
// |jit-test| error: TypeError
function TimeFunc(func) {
    for(var y=0; y<256; y++) func(y);
}
function nestedExit2() {
    TimeFunc(TimeFunc);
}
assertEq(nestedExit2(), "ok");