Commit dacd1cad authored by Ian Lance Taylor's avatar Ian Lance Taylor

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
parent 732f2fa2
......@@ -15,6 +15,6 @@ func (t T) Meth2() {}
func main() {
t := &T{}
p := P(t)
p.Meth() // ERROR "undefined \(type P"
p.Meth2() // ERROR "undefined \(type P"
}
\ No newline at end of file
p.Meth() // ERROR "undefined"
p.Meth2() // ERROR "undefined"
}
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