Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
pic
/
callname-global2.js
blob: 5ee3aa2650f21a42d2afb6b3a52da297d7f43a04 [
file
] [
log
] [
blame
]
g0
=
function
(
i
)
{
this
[
"g"
+(
i
+
1
)]
=
g0
;
return
"g"
+(
i
+
1
);
}
function
f
()
{
a
=
eval
(
"g0"
);
for
(
var
i
=
0
;
i
<
40
;
i
++)
{
a
=
this
[
a
(
i
)];
if
(
i
===
30
)
{
gc
();
}
assertEq
(
this
[
"g"
+
i
],
g0
);
}
}
f
();