summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug729902-2.js
blob: 38e6bdbeabc360ae8f16b5e2c9a74799e9b5ccc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
function f() {
    var i = 0;
  outer:
    for (var x = 0; x < 10; x++) {
        while (true) {
            if (i > 150)
                continue outer;
            i++;
        }
    }
    assertEq(i, 151);
}
f();