Debian Codegraph @

go/analysis/internal/checker/testdata/plain.txt

raw
1 # Test plain output.
2 #
3 # File slashes assume non-Windows.
4 skip GOOS=windows
5
6 checker -related example.com/p
7 stderr p/p.go:3:1: decl starts here
8 stderr p/p.go:4:1: decl ends here
9
10 checker -related -c=0 example.com/p
11 stderr p/p.go:3:1: decl starts here
12 stderr 3 func f\(bar int\) {
13 stderr p/p.go:4:1: decl ends here
14 stderr 4 }
15 exit 3
16
17 -- go.mod --
18 module example.com
19 go 1.22
20
21 -- p/p.go --
22 package p
23
24 func f(bar int) {
25 }