Commit 5e6194cc authored by Ian Lance Taylor's avatar Ian Lance Taylor

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
parent 57035a90
......@@ -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"
)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment