github.com/riscv/riscv-go@v0.0.0-20200123204226-124ebd6fcc8e/misc/cgo/testshared/src/iface_i/i.go (about)

     1  // Copyright 2017 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 iface_i
     6  
     7  type I interface {
     8  	M()
     9  }
    10  
    11  type T struct {
    12  }
    13  
    14  func (t *T) M() {
    15  }
    16  
    17  // *T implements I