Source file src/cmd/compile/internal/importer/testdata/issue25301.go

     1  // Copyright 2018 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package issue25301
     6  
     7  type (
     8  	A = interface {
     9  		M()
    10  	}
    11  	T interface {
    12  		A
    13  	}
    14  	S struct{}
    15  )
    16  
    17  func (S) M() { println("m") }
    18  

View as plain text