Commit 1103d78c authored by Ian Lance Taylor's avatar Ian Lance Taylor

Recognize gccgo error messages:

func4.go:8:11: error: invalid operand for unary '&'
func4.go:9:8: error: invalid left hand side of assignment

R=rsc
DELTA=2  (0 added, 0 deleted, 2 changed)
OCL=24294
CL=24603
parent 9acd2a97
...@@ -9,6 +9,6 @@ package main ...@@ -9,6 +9,6 @@ package main
var notmain func() var notmain func()
func main() { func main() {
var x = &main; // ERROR "address of function" var x = &main; // ERROR "address of function|invalid"
main = notmain; // ERROR "assign to function" main = notmain; // ERROR "assign to function|invalid"
} }
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