From bfe9f228a40398cadeff125425678eaea9acc971 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 16 Sep 2011 18:28:57 -0700 Subject: [PATCH] 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 --- test/fixedbugs/bug330.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/fixedbugs/bug330.go b/test/fixedbugs/bug330.go index cf1d6cc2d73..114492aff80 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" }