mirror of
https://github.com/golang/go
synced 2024-11-22 00:24: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:
parent
57035a9041
commit
5e6194cc1b
@ -7,10 +7,10 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
var n byte; // ERROR "not a type"
|
var n byte; // ERROR "not a type|expected type"
|
||||||
var y = float(0); // ERROR "cannot call"
|
var y = float(0); // ERROR "cannot call|expected function"
|
||||||
const (
|
const (
|
||||||
a = 1+iota; // ERROR "string"
|
a = 1+iota; // ERROR "string|incompatible types"
|
||||||
)
|
)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user