module main interface Abc { test[T]() } struct Xyz {} fn (xyz Xyz) test[T]() {} fn main() { _ := Abc(Xyz{}) }