summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/warp/bug1661530.js
blob: c4ea7fdb9225aa4b1b069f83e6a70aded51e8441 (plain)
1
2
3
4
5
6
7
Function.prototype.call = function() {};
var sum = 0;
function foo() { sum++; }
for (var i = 0; i < 1000; i++) {
    foo.call({}, 0);
}
assertEq(sum, 0);