From: Ian Lance Taylor Date: Mon, 26 Oct 2009 23:06:46 +0000 (-0700) Subject: Recognize gccgo error messages. X-Git-Tag: weekly.2009-11-06~197 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=5e6194cc1b888a3aee385d62b17400d5d5bb5bb6;p=gostls13.git Recognize gccgo error messages. rename1.go:10:8: error: expected type rename1.go:11:10: error: expected function rename1.go:13:8: error: incompatible types in binary expression R=rsc http://go/go-review/1015013 --- diff --git a/test/rename1.go b/test/rename1.go index eb98e7accf..2224773e9f 100644 --- a/test/rename1.go +++ b/test/rename1.go @@ -7,10 +7,10 @@ package main func main() { - var n byte; // ERROR "not a type" - var y = float(0); // ERROR "cannot call" + var n byte; // ERROR "not a type|expected type" + var y = float(0); // ERROR "cannot call|expected function" const ( - a = 1+iota; // ERROR "string" + a = 1+iota; // ERROR "string|incompatible types" ) }