blob: 4319c7a039cbc652a779736f165461ad33e97644 [file] [log] [blame]
function foo() {
var x = 0;
++x;
for (var x in [1, 2, 3]) {
}
x = 1;
x++;
var y = x++;
var z = y++;
z = x++;
x += 2;
z -= 1;
x *= 2;
z <<= 1;
x |= 5;
return function() { return x++ + z; }
}
for (var i = 0; i < 100; ++i) {
if (foo()() != 17)
throw "Error";
}