From: Ian Lance Taylor Date: Fri, 10 Sep 2010 19:45:46 +0000 (-0700) Subject: test: Match gccgo error messages. X-Git-Tag: weekly.2010-09-15~57 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=dbc226d5a1dba021e386a9a90765d5f34cde9946;p=gostls13.git test: Match gccgo error messages. gccgo does not handle 'new' specially here. varerr.go:10:6: error: reference to undefined name ‘asdf’ varerr.go:12:6: error: invalid left hand side of assignment R=rsc CC=golang-dev https://golang.org/cl/2139045 --- diff --git a/test/varerr.go b/test/varerr.go index 32f33ecc77..ddd718f5b8 100644 --- a/test/varerr.go +++ b/test/varerr.go @@ -7,8 +7,8 @@ package main func main() { - _ = asdf // ERROR "undefined: asdf" + _ = asdf // ERROR "undefined.*asdf" - new = 1 // ERROR "use of builtin new not in function call" + new = 1 // ERROR "use of builtin new not in function call|invalid left hand side" }