Commit 237ae641 authored by Ian Lance Taylor's avatar Ian Lance Taylor

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
parent 9db2bc74
......@@ -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"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment