summaryrefslogtreecommitdiff
path: root/test
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
commitace9cfca8d6390be78d1a7cc5fb9f79d4cb76352 (patch)
treee265e5c33b84a3112e7f91cf91a041e11c131c73 /test
parenta1894df9f5470aab891bca0154b26fa709a32cbc (diff)
downloadgo-ace9cfca8d6390be78d1a7cc5fb9f79d4cb76352.tar.gz
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 http://codereview.appspot.com/4273114
Diffstat (limited to 'test')
-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 621f31eed..348aed429 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"
}
}