Sign in
go
/
tools
/
42a6477e4efe48405882cc5fd5bbe17b77d07b5e
/
.
/
go
/
ssa
/
testdata
/
fixedbugs
/
issue66783b.go
blob: 50a2d303be8d137ae6bb97cad1f1dff1f036be26 [
file
] [
log
] [
blame
]
//go:build ignore
// +build ignore
package issue66783b
type I1[T any] interface {
M(T)
}
type I2[T any] I1[T]
func foo[T any](i I2[T]) {
_ = i.M
}
type S[T any] struct{}
func (s S[T]) M(t T) {}
func M2() {
foo[int](I2[int](S[int]{}))
}