From: Ian Lance Taylor Date: Mon, 28 Mar 2011 03:38:28 +0000 (-0700) Subject: test: match gccgo error messages for bug323.go. X-Git-Tag: weekly.2011-03-28~11 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=dacd1cad770c32ec6ce2ead159f7f7c295f7a597;p=gostls13.git 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 --- diff --git a/test/fixedbugs/bug323.go b/test/fixedbugs/bug323.go index bfb528318a..23e2be6603 100644 --- a/test/fixedbugs/bug323.go +++ b/test/fixedbugs/bug323.go @@ -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" +}