Sign in
go
/
tools
/
9e1d19b13e1ca9d45d9378b34f139f32c2f1c994
/
.
/
cmd
/
callgraph
/
testdata
/
src
/
pkg
/
pkg.go
blob: b81c97fba6ab3f3488d0cd2e54351b09f7bb1915 [
file
] [
log
] [
blame
]
package main
type I interface {
f()
}
type C int
func (C) f() {}
type D int
func (D) f() {}
func main() {
var i I = C(0)
i.f()
// dynamic call
main2()
}
func main2() {
var i I = D(0)
i.f()
// dynamic call
}