summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1197769.js
blob: 089258bc3d7bd8080004f9c5bc7788656cd6243e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// |jit-test| error:too much recursion
function test() {
    var a = [""];
    var i = 0;
    for (var e in a) {
        if (i == 10) {
            for (var g in []) {}
        }
        throw test();
    }
}
test();