summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug821788.js
blob: 520b7919c28ed35bddeb1fae2806696672ec50a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
var appendToActual = function(s) {
    actual += s + ',';
}
gczeal(2,(3));
actual = '';
function loop(f) {}
function f(j, k) {
  var g = function(a, b, c) {}
  for (k = 0; k < 5; ++k)
    appendToActual(loop(g));
}
f(1);