Esempio n. 1
0
File: exe.go Progetto: achanda/go
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
}
Esempio n. 2
0
File: exe.go Progetto: 2thetop/go
func main() {
	defer depBase.ImplementedInAsm()
	runtime.GC()
	depBase.V = depBase.F() + 1
}