From 3cf2befb1fb016315e40f86eacbad9be17ec91b9 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sat, 26 Mar 2011 11:24:02 -0700 Subject: 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 http://codereview.appspot.com/4289074 --- test/init.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/init.go') diff --git a/test/init.go b/test/init.go index b6c8c9706..74c2d5c26 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" } -- cgit v1.2.1