2015-04-14 12:03:21 +02:00
|
|
|
package main
|
|
|
|
|
|
2015-07-15 11:31:30 +12:00
|
|
|
import (
|
2016-05-04 11:23:24 +12:00
|
|
|
"depBase"
|
2016-10-26 15:57:58 +13:00
|
|
|
"os"
|
|
|
|
|
"reflect"
|
2015-07-15 11:31:30 +12:00
|
|
|
"runtime"
|
|
|
|
|
)
|
2015-04-14 12:03:21 +02:00
|
|
|
|
|
|
|
|
func main() {
|
2016-05-04 11:23:24 +12:00
|
|
|
defer depBase.ImplementedInAsm()
|
2016-10-26 15:57:58 +13:00
|
|
|
// 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()
|
2015-07-15 11:31:30 +12:00
|
|
|
runtime.GC()
|
2016-05-04 11:23:24 +12:00
|
|
|
depBase.V = depBase.F() + 1
|
2015-04-14 12:03:21 +02:00
|
|
|
}
|