Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / honnef.co / go / tools@v0.0.1-2020.1.5 / unused / testdata / src / blank / blank.go
1 package pkg
2
3 import _ "fmt"
4
5 type t1 struct{} // want `t1`
6 type t2 struct {
7         _ int
8 }
9 type t3 struct{}
10 type t4 struct{}
11 type t5 struct{}
12
13 var _ = t2{}
14
15 func fn1() { // want `fn1`
16         _ = t1{}
17         var _ = t1{}
18 }
19
20 func fn2() {
21         _ = t3{}
22         var _ t4
23         var _ *t5 = nil
24 }
25
26 func init() {
27         fn2()
28 }
29
30 func _() {}
31
32 type _ struct{}