summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/loops/integer-3.js
blob: 26c7b76a8f991a5ac258eb79e93c5a22266c2955 (plain)
1
2
3
4
5
6
7
function foo(x) {
  for (var i = 0x7ffffff0; i <= x; i++) {
    var y = (i % -2147483648);
  }
  return y + 5;
}
assertEq(foo(0x7fffffff), 0x7fffffff + 5);