summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug720169.js
blob: 5d80a9a1463daad6c69111715f18549f97e01aac (plain)
1
2
3
4
5
6
7
8
function foo() {
  var x = 0;
  var y = 0;
  while (x++ < 100)
    y++;
  assertEq(y, 100);
}
foo();