test error-22.1 {compiled try misses finally: Bug 2971921} -setup {
    proc _tmp-error-22.1 {} {
	try {
	    throw BAR {}
	} trap BAR {} {
	} finally {
	    return FOO
	}
    }
} -body {
    _tmp-error-22.1
} -cleanup {
    rename _tmp-error-22.1 {}
} -result FOO
