From: Ian Lance Taylor Date: Sat, 26 Mar 2011 18:24:02 +0000 (-0700) Subject: test: match gccgo error messages for init.go X-Git-Tag: weekly.2011-03-28~17 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d607cb289d8a3c762a5d760274895129d6cc2dd0;p=gostls13.git test: match gccgo error messages for init.go init.go:16:10: error: invalid reference to unexported identifier ‘runtime.init’ init.go:15:2: error: reference to undefined name ‘init’ init.go:17:10: error: reference to undefined name ‘init’ R=golang-dev, rsc1 CC=golang-dev https://golang.org/cl/4289074 --- diff --git a/test/init.go b/test/init.go index b6c8c97063..74c2d5c261 100644 --- a/test/init.go +++ b/test/init.go @@ -12,7 +12,7 @@ func init() { } func main() { - init() // ERROR "undefined: init" + init() // ERROR "undefined.*init" runtime.init() // ERROR "unexported.*runtime\.init" - var _ = init // ERROR "undefined: init" + var _ = init // ERROR "undefined.*init" }