1
0
mirror of https://github.com/golang/go synced 2024-11-22 00:14:42 -07:00

test: match gccgo error messages for bug323.go.

bug323.go:18:3: error: reference to undefined field or method ‘Meth’
bug323.go:19:3: error: reference to undefined field or method ‘Meth2’

R=golang-dev, rsc1
CC=golang-dev
https://golang.org/cl/4280072
This commit is contained in:
Ian Lance Taylor 2011-03-27 20:38:28 -07:00
parent 732f2fa2c1
commit dacd1cad77

View File

@ -15,6 +15,6 @@ func (t T) Meth2() {}
func main() { func main() {
t := &T{} t := &T{}
p := P(t) p := P(t)
p.Meth() // ERROR "undefined \(type P" p.Meth() // ERROR "undefined"
p.Meth2() // ERROR "undefined \(type P" p.Meth2() // ERROR "undefined"
} }