github.com/riscv/riscv-go@v0.0.0-20200123204226-124ebd6fcc8e/misc/cgo/testshared/src/exe2/exe2.go (about) 1 package main 2 3 import "dep2" 4 5 func main() { 6 d := &dep2.Dep2{} 7 dep2.W = dep2.G() + 1 + d.Method() 8 }