From: Ian Lance Taylor Date: Fri, 6 Feb 2009 23:57:02 +0000 (-0800) Subject: Recognize gccgo error messages: X-Git-Tag: weekly.2009-11-06~2217 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1103d78c84d9654035c2b43aeb01cd5a71c539de;p=gostls13.git Recognize gccgo error messages: func4.go:8:11: error: invalid operand for unary '&' func4.go:9:8: error: invalid left hand side of assignment R=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=24294 CL=24603 --- diff --git a/test/func4.go b/test/func4.go index 843e6d341b..f9e394fdf7 100644 --- a/test/func4.go +++ b/test/func4.go @@ -9,6 +9,6 @@ package main var notmain func() func main() { - var x = &main; // ERROR "address of function" - main = notmain; // ERROR "assign to function" + var x = &main; // ERROR "address of function|invalid" + main = notmain; // ERROR "assign to function|invalid" }