From 266016153389f79da6bfce129f722ce777430eeb Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 8 Sep 2010 13:57:12 -0700 Subject: [PATCH] test: Match gccgo error messages. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit bug298.go:10:2: error: expected declaration bug298.go:10:25: error: expected ‘;’ or newline after top level declaration bug298.go:10:25: error: expected declaration R=rsc CC=golang-dev https://golang.org/cl/2156046 --- test/fixedbugs/bug298.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fixedbugs/bug298.go b/test/fixedbugs/bug298.go index 9b329aedfce..fe4a99a780e 100644 --- a/test/fixedbugs/bug298.go +++ b/test/fixedbugs/bug298.go @@ -7,5 +7,5 @@ package ddd func Sum() int - for i := range []int{} { return i } // ERROR "return outside function" + for i := range []int{} { return i } // ERROR "return outside function|expected"