summaryrefslogtreecommitdiffstats
path: root/misc/cgo/testshared/testdata/dep2/dep2.go
blob: 94f38cf507f3fa1047b75eecfe90ff95638fe5f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
}