mirror of
https://github.com/golang/go
synced 2024-11-21 18:44:45 -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:
parent
57035a9041
commit
5e6194cc1b
@ -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"
|
||||
)
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user