Source file src/cmd/cgo/internal/testshared/testdata/issue47837/a/a.go

     1  // Copyright 2021 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 a
     6  
     7  type A interface {
     8  	M()
     9  }
    10  
    11  //go:noinline
    12  func TheFuncWithArgA(a A) {
    13  	a.M()
    14  }
    15  
    16  type ImplA struct{}
    17  
    18  //go:noinline
    19  func (A *ImplA) M() {}
    20  

View as plain text