blob: 275f6b42c4c320a6cca32e9766e3fe699ac5fbfb [file] [log] [blame]
function foo(l,x){
var t = l in x;
return t;
}
noInline(foo);
var r;
for (var i = 0; i < 1000000; ++i) {
var z = { 'y' : i, 's' : i + 1 };
z.s = 10;
r = foo("s",z);
}
if (!r) {
print ("Error: " + r);
}