Sign in
webkit
/
WebKit
/
a36dd1c4bd8146169ac601fd378f4d14b5f88ac7
/
.
/
JSTests
/
stress
/
value-to-int32-undefined-constant.js
blob: 38b914019b4025a5c2c902ecab0a5db05d36d081 [
file
] [
log
] [
blame
]
function
foo
()
{
return
(
void
0
)
|
0
;
}
noInline
(
foo
);
for
(
var
i
=
0
;
i
<
10000
;
++
i
)
{
var
result
=
foo
();
if
(
result
!=
0
)
throw
"Error: bad result: "
+
result
;
}