1
0
mirror of https://github.com/golang/go synced 2024-11-13 20:30:27 -07:00
go/misc/cgo/testplugin/testdata/iface_b/b.go

18 lines
332 B
Go
Raw Normal View History

// Copyright 2017 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
import "testplugin/iface_i"
//go:noinline
func F() interface{} {
return (*iface_i.T)(nil)
}
//go:noinline
func G() iface_i.I {
return (*iface_i.T)(nil)
}