Source file
test/fixedbugs/issue48898.go
1
2
3
4
5
6
7 package main
8
9 func main() {
10 defer func() {
11 println(recover().(int))
12 }()
13 func() {
14 func() (_ [2]int) { type _ int; return }()
15 func() {
16 defer func() {
17 defer func() {
18 recover()
19 }()
20 defer panic(3)
21 panic(2)
22 }()
23 defer func() {
24 recover()
25 }()
26 panic(1)
27 }()
28 defer func() {}()
29 }()
30
31 var x = 123
32 func() {
33
34 defer print(x)
35 func() {
36 defer func() {}()
37 panic(4)
38 }()
39 }()
40 }
41
View as plain text