Home | History | Annotate | Download | only in interface

Lines Matching refs:interface

7 // Test methods derived from embedded interface and *interface values.
15 type Inter interface {
33 type SP struct{ *Inter } // ERROR "interface"
51 check("pti.M()", pti.M()) // ERROR "pointer to interface, not interface"
57 check("i = t; pi.M()", pi.M()) // ERROR "pointer to interface, not interface"
61 check("i = pt; pi.M()", pi.M()) // ERROR "pointer to interface, not interface"
65 check("i = s; pi.M()", pi.M()) // ERROR "pointer to interface, not interface"
69 check("i = ps; pi.M()", pi.M()) // ERROR "pointer to interface, not interface"