diff options
author | Ian Lance Taylor <iant@golang.org> | 2009-10-26 16:06:46 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2009-10-26 16:06:46 -0700 |
commit | ede29c86aa6b183ddbe7d23aefc3b10bd7745ac0 (patch) | |
tree | aa9bf263ee0f48eaf4d24734bb7c88f29609f6f5 /test | |
parent | b25dd5fc693b18723a8c7e966b64c4793ad43b5c (diff) | |
download | golang-ede29c86aa6b183ddbe7d23aefc3b10bd7745ac0.tar.gz |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/rename1.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rename1.go b/test/rename1.go index eb98e7acc..2224773e9 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" ) } |