1package pkg 2 3import _ "fmt" 4 5type t1 struct{} // want `t1` 6type t2 struct { 7 _ int 8} 9type t3 struct{} 10type t4 struct{} 11type t5 struct{} 12 13var _ = t2{} 14 15func fn1() { // want `fn1` 16 _ = t1{} 17 var _ = t1{} 18} 19 20func fn2() { 21 _ = t3{} 22 var _ t4 23 var _ *t5 = nil 24} 25 26func init() { 27 fn2() 28} 29 30func _() {} 31 32type _ struct{} 33