summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/warp/bug1741635-1.js
blob: bf966da433b8cb7551932d48d02104c6332503ae (plain)
1
2
3
4
5
6
7
8
9
10
11
function foo() {}

var i;
function c(x, ...rest) {
  for (i = 0; i < rest.length; i++)
    foo(rest[i])
}

for (var j = 0; j < 100; j++) {
  c(0, 0);
}