summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2010-01-29 22:38:39 -0800
committerIan Lance Taylor <iant@golang.org>2010-01-29 22:38:39 -0800
commit3ac6317614c1b0592749948ec2a4932014c53f80 (patch)
treecc4c9771c8532a922be53aec8fad1766db1e0692
parentfe8b427f2f40b5bdce54bf4c17aca70fb20ae33b (diff)
downloadgolang-3ac6317614c1b0592749948ec2a4932014c53f80.tar.gz
Recognize gccgo error messages.
bug228.go:11:25: error: invalid use of ‘...’ bug228.go:13:13: error: ‘...’ only permits one name bug228.go:15:20: error: ‘...’ must be last parameter bug228.go:17:7: error: expected type bug228.go:19:8: error: expected type R=rsc CC=golang-dev http://codereview.appspot.com/196077
-rw-r--r--test/fixedbugs/bug228.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixedbugs/bug228.go b/test/fixedbugs/bug228.go
index 682152ed9..243d20ee7 100644
--- a/test/fixedbugs/bug228.go
+++ b/test/fixedbugs/bug228.go
@@ -14,6 +14,6 @@ func h(x, y ...) // ERROR "[.][.][.]"
func i(x int, y ..., z float) // ERROR "[.][.][.]"
-var x ...; // ERROR "[.][.][.]|syntax"
+var x ...; // ERROR "[.][.][.]|syntax|type"
-type T ...; // ERROR "[.][.][.]|syntax"
+type T ...; // ERROR "[.][.][.]|syntax|type"