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