blob: ef9b840530c9685235a37338e84a20e692e9c45e [file] [log] [blame]
function foo() {
return /(f)(o)(o)/.test("foo");
}
noInline(foo);
for (var i = 0; i < 10000; ++i) {
var result = foo();
if (result != true)
throw "Error: bad result: " + result;
}