Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201105173854-bc9fc8d8c4bc / cmd / guru / testdata / src / softerrs / main.go
1 package main
2
3 // Tests of various queries on a program containing only "soft" errors.
4 // See go.tools/guru/guru_test.go for explanation.
5 // See main.golden for expected query results.
6
7 func _() {
8         var i int // "unused var" is a soft error
9 }
10
11 func f() {} // @callers softerrs-callers-f "f"
12
13 func main() {
14         f() // @describe softerrs-describe-f "f"
15 }