summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug832058.js
blob: 22dd37a4e0c520894a4c9a57f42f22f63498104d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// |jit-test|
function f(c) {
  var b = arguments;
  if (c == 1)
    b = 1;
  return b;
}

evaluate("f('a', 'b', 'c', 'd', 'e');");
function test(){
  var args = f('a', (0), 'c');
  var s;
  for (var v of args)
      s += v;
}
test();