From: Ian Lance Taylor Date: Fri, 25 Mar 2011 18:32:32 +0000 (-0700) Subject: test: match gccgo error messages for bug274.go. X-Git-Tag: weekly.2011-03-28~31 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=237ae64146f5c56287e287930de61ae96a465d5d;p=gostls13.git test: match gccgo error messages for bug274.go. bug274.go:23:3: error: missing statement after label bug274.go:25:3: error: missing statement after label bug274.go:28:3: error: label ‘L2’ defined and not used R=rsc CC=golang-dev https://golang.org/cl/4273114 --- diff --git a/test/fixedbugs/bug274.go b/test/fixedbugs/bug274.go index 621f31eed3..348aed429e 100644 --- a/test/fixedbugs/bug274.go +++ b/test/fixedbugs/bug274.go @@ -24,6 +24,7 @@ func main() { case 1: L1: // ERROR "statement" default: - L2: // correct since no semicolon is required before a '}' + // correct since no semicolon is required before a '}' + L2: // GCCGO_ERROR "not used" } }