From: Ian Lance Taylor Date: Wed, 8 Sep 2010 20:57:12 +0000 (-0700) Subject: test: Match gccgo error messages. X-Git-Tag: weekly.2010-09-15~92 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=266016153389f79da6bfce129f722ce777430eeb;p=gostls13.git test: Match gccgo error messages. 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 --- diff --git a/test/fixedbugs/bug298.go b/test/fixedbugs/bug298.go index 9b329aedfc..fe4a99a780 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"