aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2011-03-25 11:32:32 -0700
committerIan Lance Taylor <iant@golang.org>2011-03-25 11:32:32 -0700
commit237ae64146f5c56287e287930de61ae96a465d5d (patch)
treedd2d795b8e0c9f5c535eedc2721f26775bc64839
parent9db2bc741e87571a9a3d31b1d1f3d6b9cda0fac4 (diff)
downloadgo-237ae64146f5c56287e287930de61ae96a465d5d.tar.gz
go-237ae64146f5c56287e287930de61ae96a465d5d.zip
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
-rw-r--r--test/fixedbugs/bug274.go3
1 files changed, 2 insertions, 1 deletions
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"
}
}