summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/bug597378.js
blob: c766407ab58c56fa559d2b0ae892fb592bda7143 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// vim: set ts=8 sts=4 et sw=4 tw=99:
function f(a, b) {
    var o = a;
    var q = b;
    var p;
    do { } while (0);
    p = o;
    q = p + 1 < q ? p + 1 : 0;
    assertEq(q, 0);
}
f(3, 4);