示例#1
0
文件: exe.go 项目: 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
}
示例#2
0
文件: exe.go 项目: 2thetop/go
func main() {
	defer depBase.ImplementedInAsm()
	runtime.GC()
	depBase.V = depBase.F() + 1
}