From 5163d50c7dfb6c3e11ec67b01b61d1640ed51531 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 29 Jan 2010 22:38:39 -0800 Subject: [PATCH] Recognize gccgo error messages. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 https://golang.org/cl/196077 --- test/fixedbugs/bug228.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/fixedbugs/bug228.go b/test/fixedbugs/bug228.go index 682152ed919..243d20ee7c3 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"