diff options
author | Ian Lance Taylor <iant@golang.org> | 2011-03-27 12:10:50 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2011-03-27 12:10:50 -0700 |
commit | 4675e3332b0af407aee8bc078c1a50cccb318ce6 (patch) | |
tree | 3147465b8139c80ccb2c0743ff7144b26929bcfe | |
parent | 7f9acb53cb15ecea79dd6ed5ec117429b5919abb (diff) | |
download | go-4675e3332b0af407aee8bc078c1a50cccb318ce6.tar.gz go-4675e3332b0af407aee8bc078c1a50cccb318ce6.zip |
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
-rw-r--r-- | test/fixedbugs/bug325.go | 2 |
1 files changed, 1 insertions, 1 deletions
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" } |