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 / variables / variables.go
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/unused/testdata/src/variables/variables.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/unused/testdata/src/variables/variables.go
new file mode 100644 (file)
index 0000000..d5129a8
--- /dev/null
@@ -0,0 +1,28 @@
+package pkg
+
+var a byte
+var b [16]byte
+
+type t1 struct{}
+type t2 struct{}
+type t3 struct{}
+type t4 struct{}
+type t5 struct{}
+
+type iface interface{}
+
+var x t1
+var y = t2{}
+var j, k = t3{}, t4{}
+var l iface = t5{}
+
+func Fn() {
+       println(a)
+       _ = b[:]
+
+       _ = x
+       _ = y
+       _ = j
+       _ = k
+       _ = l
+}