github.com/april1989/origin-go-tools@v0.0.32/cmd/guru/testdata/src/referrers/ext_test.go (about)

     1  package main_test
     2  
     3  import (
     4  	"lib"
     5  	renamed "referrers" // package has name "main", path "referrers", local name "renamed"
     6  )
     7  
     8  func _() {
     9  	// This reference should be found by the ref-method query.
    10  	_ = (lib.Type).Method // ref from external test package
    11  	var _ renamed.T
    12  }