func main() { defer depBase.ImplementedInAsm() // This code below causes various go.itab.* symbols to be generated in // the executable. Similar code in ../depBase/dep.go results in // exercising https://github.com/golang/go/issues/17594 reflect.TypeOf(os.Stdout).Elem() runtime.GC() depBase.V = depBase.F() + 1 }
func G() int { return depBase.F() + 1 }
func main() { defer depBase.ImplementedInAsm() runtime.GC() depBase.V = depBase.F() + 1 }