diff options
-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" |