blob: 4e27d4e00af125024835936bba61b0cdfbf06285 [file] [log] [blame]
package p
type T struct{ x int }
type S struct{}
func (p *S) get() T {
return T{0}
}
type I interface {
get() T
}
func F(i I) {
_ = i.get()
}