Sign in
webkit
/
WebKit
/
87a7a7c1c7f13f5553e380a9e21b89f73f375cdc
/
.
/
JSTests
/
stress
/
new-array-then-exit.js
blob: 7c8a6901e84f77ba559df37d0808fea54ebee81b [
file
] [
log
] [
blame
]
function
foo
(
f
)
{
return
new
f
();
}
noInline
(
foo
);
for
(
var
i
=
0
;
i
<
10000
;
++
i
)
foo
(
Array
);
var
didCall
=
false
;
foo
(
function
()
{
didCall
=
true
;
});
if
(!
didCall
)
throw
"Error: didn't call my function."
;