1package main 2 3import "testshared/dep2" 4 5func main() { 6 d := &dep2.Dep2{} 7 dep2.W = dep2.G() + 1 + d.Method() 8} 9