1
0
mirror of https://github.com/golang/go synced 2024-11-21 14:34:41 -07:00

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
This commit is contained in:
Ian Lance Taylor 2009-10-26 16:06:46 -07:00
parent 57035a9041
commit 5e6194cc1b

View File

@ -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"
)
}