From 237ae64146f5c56287e287930de61ae96a465d5d Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 25 Mar 2011 11:32:32 -0700 Subject: [PATCH] test: match gccgo error messages for bug274.go. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- test/fixedbugs/bug274.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" } } -- 2.50.0