// #failed: resolve
// #error: returning from defer block is illegal

main :: proc(): int {
    defer return 0;
    return 0;
}