summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/baseline/bug938130.js
blob: 5f0ecbe7e375a940fca90b849883c3376b5f96ce (plain)
1
2
3
4
5
6
7
// |jit-test| error: TypeError

function f() {    }
function g() {    }
var x = [f,f,f,undefined,g];
for (var i = 0; i < 5; ++i)
  y = x[i]("x");