mirror of
https://github.com/golang/go
synced 2025-05-05 03:21:36 +00: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:
@ -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"
|
||||
}
|
||||
p.Meth() // ERROR "undefined"
|
||||
p.Meth2() // ERROR "undefined"
|
||||
}
|
||||
|
Reference in New Issue
Block a user