github.com/kidsbmilk/gofrontend_all@v0.0.0-20220701224323-6479d5976c5d/libgo/misc/cgo/testshared/testdata/issue47837/a/a.go (about) 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() {}