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