aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2011-03-27 20:38:28 -0700
committerIan Lance Taylor <iant@golang.org>2011-03-27 20:38:28 -0700
commitdacd1cad770c32ec6ce2ead159f7f7c295f7a597 (patch)
tree836a6fece4340e33e65e658e2901988c6ca29434
parent732f2fa2c19394f938848c2b284e6b76c72a9e99 (diff)
downloadgo-dacd1cad770c32ec6ce2ead159f7f7c295f7a597.tar.gz
go-dacd1cad770c32ec6ce2ead159f7f7c295f7a597.zip
test: match gccgo error messages for bug323.go.
bug323.go:18:3: error: reference to undefined field or method ‘Meth’ bug323.go:19:3: error: reference to undefined field or method ‘Meth2’ R=golang-dev, rsc1 CC=golang-dev https://golang.org/cl/4280072
-rw-r--r--test/fixedbugs/bug323.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/fixedbugs/bug323.go b/test/fixedbugs/bug323.go
index bfb528318a..23e2be6603 100644
--- a/test/fixedbugs/bug323.go
+++ b/test/fixedbugs/bug323.go
@@ -15,6 +15,6 @@ func (t T) Meth2() {}
func main() {
t := &T{}
p := P(t)
- p.Meth() // ERROR "undefined \(type P"
- p.Meth2() // ERROR "undefined \(type P"
-} \ No newline at end of file
+ p.Meth() // ERROR "undefined"
+ p.Meth2() // ERROR "undefined"
+}