3 // Test of promotion of methods of an interface embedded within a
4 // struct. In particular, this test exercises that the correct
18 func (impl) one() int {
22 func (impl) two() string {
29 if one := s.I.one(); one != 1 {
32 if one := s.one(); one != 1 {
36 if one := closOne(); one != 1 {
40 if one := closOne(); one != 1 {
44 if two := s.I.two(); two != "two" {
47 if two := s.two(); two != "two" {
51 if two := closTwo(); two != "two" {
55 if two := closTwo(); two != "two" {