summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug469262.js
blob: da05527a7f577267aaa6ebec58725441fcf25f1b (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| error:TypeError

// Binary: cache/js-dbg-32-2c8e43e57337-linux
// Flags: -j
//
function b() { this.m(); }
var g = {m: function(){}};
var a = [g, g, {}];
for (var i = 0; i < a.length; ++i)
  b.call(a[i]);