diff --git a/gcc/testsuite/go.test/test/fixedbugs/issue4458.go b/gcc/testsuite/go.test/test/fixedbugs/issue4458.go index 820f18cb8d7..82b104a0fdf 100644 --- a/gcc/testsuite/go.test/test/fixedbugs/issue4458.go +++ b/gcc/testsuite/go.test/test/fixedbugs/issue4458.go @@ -16,5 +16,5 @@ func (T) foo() {} func main() { av := T{} pav := &av - (**T).foo(&pav) // ERROR "no method foo|requires named type or pointer to named" + (**T).foo(&pav) // ERROR "no method|requires named type or pointer to named" }