blob: 8cbde8b1b2986d211b260b0c3c9d13993eb39ff8 [file] [log] [blame]
function foo(x){
var t = "s" 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(z);
}
if (!r) {
print ("Error: " + r);
}