Sign in
webkit
/
WebKit
/
36b74c3900290f2598b1d40cf6065a7028fc4a34
/
.
/
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
;
}