summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testBug761863.js
blob: fc5c12d20bdbd1c4dfe9171160e7cd25d1fa8563 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
gczeal(4);
function blah() {
  var i = 1;
  function o() {}
  function k() { i++; }
  o.x = 0;
  for (var j = 0; j < 100; ++j) {
      i = {a: o, b: k};
      i++;
  }
}
blah();