diff options
author | Ian Lance Taylor <iant@golang.org> | 2010-09-08 13:58:09 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2010-09-08 13:58:09 -0700 |
commit | 2baca1890546832be557c8c2ff1b2bafaa5c2c0a (patch) | |
tree | f520cb53f11aae08f1df6f16ad1ccec4d1041217 | |
parent | ddfe94b45d14f973cb94ea46e15c4c7a57fa93ac (diff) | |
download | go-2baca1890546832be557c8c2ff1b2bafaa5c2c0a.tar.gz |
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
http://codereview.appspot.com/2150044
-rw-r--r-- | test/fixedbugs/bug299.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/fixedbugs/bug299.go b/test/fixedbugs/bug299.go index 1793a0de6..4d7314432 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" |