blob: fffc8573bd5bf76fb28c74ebf860419e95f02f2c [file] [log] [blame]
function nestedExit(x) {
var q = 0;
for (var i = 0; i < 10; ++i)
{
if (x)
++q;
}
}
function nestedExitLoop() {
for (var j = 0; j < 10; ++j)
nestedExit(j < 7);
return "ok";
}
assertEq(nestedExitLoop(), "ok");