OSDN Git Service

Update to current version of Go library.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / go.test / test / convert.go
index e7361aa..0a75663 100644 (file)
@@ -8,7 +8,7 @@ package main
 
 import "reflect"
 
-func typeof(x interface{}) string { return reflect.Typeof(x).String() }
+func typeof(x interface{}) string { return reflect.TypeOf(x).String() }
 
 func f() int { return 0 }