From dacd1cad770c32ec6ce2ead159f7f7c295f7a597 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sun, 27 Mar 2011 20:38:28 -0700 Subject: [PATCH] test: match gccgo error messages for bug323.go. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- test/fixedbugs/bug323.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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" +} -- 2.50.0