summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug692215.js
blob: 631a356a810e8f3507a456365ef1c3323216ee05 (plain)
1
2
3
4
5
6
7
function test1() {
    var src = "switch(x) {\n";
    for (var i=-1; i<4; i++) {
        src += (i >= 0) ? src : "default:\n";
    }
}
test1();