github.com/go-asm/go@v1.21.1-0.20240213172139-40c5ead50c48/cmd/compile/importer/testdata/issue25301.go (about)

     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") }