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 / elem / elem.go
1 // Test of field usage detection
2
3 package pkg
4
5 type t15 struct{ f151 int }
6 type a2 [1]t15
7
8 type t16 struct{}
9 type a3 [1][1]t16
10
11 func foo() {
12         _ = a2{0: {1}}
13         _ = a3{{{}}}
14 }
15
16 func init() { foo() }