Commit b2d540ac authored by Ian Lance Taylor's avatar Ian Lance Taylor

test: Match gccgo error messages.

vareq.go:10:25: error: expected ';' or '}' or newline

vareq1.go:9:24: error: expected ';' or newline after top level declaration

R=rsc
CC=golang-dev
https://golang.org/cl/2132045
parent 9c1b6dff
...@@ -7,4 +7,4 @@ ...@@ -7,4 +7,4 @@
package main package main
func main() { func main() {
var x map[string]string{"a":"b"} // ERROR "unexpected { at end of statement" var x map[string]string{"a":"b"} // ERROR "unexpected { at end of statement|expected ';' or '}' or newline"
...@@ -6,5 +6,5 @@ ...@@ -6,5 +6,5 @@
package main package main
var x map[string]string{"a":"b"} // ERROR "unexpected { at end of statement" var x map[string]string{"a":"b"} // ERROR "unexpected { at end of statement|expected ';' or newline after top level declaration"
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