blob: 86da439bf3f715eee7d998f505dd9d9035a685f2 [file] [log] [blame]
package a
func main() {
_ = live
}
// -- functions --
func Exported() {}
func live() {}
//go:linkname foo
func apparentlyDeadButHasPrecedingLinknameComment() {}
// -- methods --
type ExportedType int
type unexportedType int
func (ExportedType) Exported() {}
func (unexportedType) Exported() {}
func (x ExportedType) dynamic() {} // matches name of interface method => live
type _ interface{ dynamic() }