From cc2157ed4f26d635868a9b4b67377c8324d5e233 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 8 Sep 2010 13:58:09 -0700 Subject: [PATCH] test: Recognize gccgo error messages. bug299.go:16:2: error: expected field name bug299.go:17:2: error: expected field name bug299.go:18:3: error: expected field name bug299.go:25:9: error: expected receiver name or type bug299.go:26:10: error: expected receiver name or type bug299.go:27:9: error: expected receiver name or type R=rsc CC=golang-dev https://golang.org/cl/2150044 --- test/fixedbugs/bug299.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/fixedbugs/bug299.go b/test/fixedbugs/bug299.go index 1793a0de69..4d73144322 100644 --- a/test/fixedbugs/bug299.go +++ b/test/fixedbugs/bug299.go @@ -22,6 +22,6 @@ type T struct { func (p T) m() {} // not legal according to spec -func (p (T)) f() {} // ERROR "parenthesize" -func (p *(T)) g() {} // ERROR "parenthesize" -func (p (*T)) h() {} // ERROR "parenthesize" +func (p (T)) f() {} // ERROR "parenthesize|expected" +func (p *(T)) g() {} // ERROR "parenthesize|expected" +func (p (*T)) h() {} // ERROR "parenthesize|expected"