blob: 003141b1940db1454c3dd0ce21b57ae956fae009 [file] [log] [blame]
description(
"Tests what would happen if you a throwing operation at the beginning of a finally blow that gets inlined inside a complicated catch/finally stack. The correct outcome is for this test to not crash during exception throwing."
);
function foo() {
try{
N
} catch(x) {
try {
try {
w
} catch(x) {
try {
} finally {
return
}
}
} catch (a) {
}
} finally {
z
}
}
try {
foo();
} catch (e) {
testPassed("It worked.");
}