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 / staticcheck / testdata / src / CheckUnreadVariableValues / CheckUnreadVariableValues_test.go
1 package pkg
2
3 import "testing"
4
5 func TestFoo(t *testing.T) {
6         x := fn() // want `never used`
7         x = fn()
8         println(x)
9 }
10
11 func ExampleFoo() {
12         x := fn()
13         x = fn()
14         println(x)
15 }