summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug725061.js
blob: 1946bb1c5c160b401bc5d3cd5ece9d26cf4cdee8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
function testInt(n, result) {
    var x = 0;
    for (var i = 0; i < 15; i++) {
        if (x % 2 == 0)
            x = 10;
        else
            x %=  0;
    }
    for (var i = 0; i < 15; i++) {    }
}
testInt(2147483647, 2147483647);
testInt(-2147483648, -2147483648);