blob: ae0e8c36f787417d28f62419efc51aa2e5a7bf4f [file] [log] [blame]
description(
"Tests what would happen if you have nested try-finally's with interesting control statements nested within them. The correct outcome is for this test to not crash during bytecompilation."
);
function foo() {
try{
while(a){
try{
if(b){return}
}finally{
c();
}
if(d){return}
}
}finally{
e();
}
}
try {
foo();
} catch (e) {
testPassed("It worked.");
}