Sign in
webkit
/
WebKit
/
f769e514944504ab0f19dbc22e4bc75842cebc49
/
.
/
JSTests
/
stress
/
simple-regexp-exec-folding-fail.js
blob: 404f27b88efd5e8b027287d6e9344cadc57a4bf4 [
file
] [
log
] [
blame
]
function
foo
()
{
return
/(f)(o)(o)/
.
exec
(
"bar"
);
}
noInline
(
foo
);
for
(
var
i
=
0
;
i
<
10000
;
++
i
)
{
var
result
=
foo
();
if
(
result
!==
null
)
throw
"Error: bad result: "
+
result
;
}