gccgo: accepts program with invalid identifier
dvyukov opened this issue · 2 comments
dvyukov commented
gccgo successfully compiles the following program:
package n
func _(t)
while gc and go/types say:
go.go:2: undefined: t
go.go:2:8: undeclared name: t
gccgo must reject this program.
gcc version 6.0.0 2015070 (experimental) (GCC)
dvyukov commented
gopherbot commented
CL https://golang.org/cl/13792 mentions this issue.