summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug781393.js
blob: 2559b6fa0acd5ab9be33a1ec1d116c3d68625666 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
gczeal(4,1);
function check(o)
{
    print(o);
    assertEq(o.b, 3);
}
function f()
{
    for (var i=0; i<3; i++) {
	var o = {b: 3};
	check(o);
    }
}
f();