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