From: Ian Lance Taylor Date: Sat, 17 Sep 2011 01:28:57 +0000 (-0700) Subject: test: match gccgo error messages for bug330.go. X-Git-Tag: weekly.2011-09-21~56 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=bfe9f228a40398cadeff125425678eaea9acc971;p=gostls13.git test: match gccgo error messages for bug330.go. bug330.go:11:6: error: expected numeric type bug330.go:12:6: error: expected numeric type R=golang-dev, gri CC=golang-dev https://golang.org/cl/5031050 --- diff --git a/test/fixedbugs/bug330.go b/test/fixedbugs/bug330.go index cf1d6cc2d7..114492aff8 100644 --- a/test/fixedbugs/bug330.go +++ b/test/fixedbugs/bug330.go @@ -8,6 +8,6 @@ package main func main() { x := "" - x = +"hello" // ERROR "invalid operation.*string" - x = +x // ERROR "invalid operation.*string" + x = +"hello" // ERROR "invalid operation.*string|expected numeric" + x = +x // ERROR "invalid operation.*string|expected numeric" }