1
0
mirror of https://github.com/golang/go synced 2024-11-07 13:36:19 -07:00
go/misc/cgo/testshared/testdata/dep2/dep2.go

16 lines
163 B
Go
Raw Normal View History

package dep2
import "testshared/depBase"
var W int = 1
var hasProg depBase.HasProg
type Dep2 struct {
depBase.Dep
}
func G() int {
return depBase.F() + 1
}