From: Ian Lance Taylor Date: Sun, 27 Mar 2011 19:10:50 +0000 (-0700) Subject: test: match gccgo error messages for bug325.go. X-Git-Tag: weekly.2011-03-28~15 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4675e3332b0af407aee8bc078c1a50cccb318ce6;p=gostls13.git test: match gccgo error messages for bug325.go. bug325.go:13:10: error: invalid indirect of ‘unsafe.Pointer’ bug325.go:14:31: error: reference to field ‘foo’ in object which has no fields or methods R=golang-dev, r CC=golang-dev https://golang.org/cl/4313050 --- diff --git a/test/fixedbugs/bug325.go b/test/fixedbugs/bug325.go index 205b836b08..b86740fff9 100644 --- a/test/fixedbugs/bug325.go +++ b/test/fixedbugs/bug325.go @@ -11,5 +11,5 @@ import "unsafe" func main() { var x unsafe.Pointer println(*x) // ERROR "invalid indirect.*unsafe.Pointer" - var _ = (unsafe.Pointer)(nil).foo // ERROR "no field or method foo" + var _ = (unsafe.Pointer)(nil).foo // ERROR "foo" }