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 / embedded_call / embedded_call.go
1 package pkg
2
3 var t1 struct {
4         t2
5         t3
6         t4
7 }
8
9 type t2 struct{}
10 type t3 struct{}
11 type t4 struct{ t5 }
12 type t5 struct{}
13
14 func (t2) foo() {}
15 func (t3) bar() {}
16 func (t5) baz() {}
17 func init() {
18         t1.foo()
19         _ = t1.bar
20         t1.baz()
21 }