1 2 3 4 5 6 7 8 9 10 11 12 13 14
fn test1() int { mut a := 0 defer { a = 12 defer { a = 13 } } return a fn main() { x := test1() println(x) }