github.com/powerman/golang-tools@v0.1.11-0.20220410185822-5ad214d8d803/cmd/callgraph/testdata/src/pkg/pkg_test.go (about)

     1  package main
     2  
     3  // An Example function must have an "Output:" comment for the go build
     4  // system to generate a call to it from the test main package.
     5  
     6  func Example() {
     7  	C(0).f()
     8  
     9  	// Output:
    10  }