1
0
mirror of https://github.com/golang/go synced 2024-11-11 20:20:23 -07:00

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
This commit is contained in:
Ian Lance Taylor 2010-09-10 12:44:07 -07:00
parent 9c1b6dffd6
commit b2d540acac
2 changed files with 2 additions and 2 deletions

View File

@ -7,4 +7,4 @@
package 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"

View File

@ -6,5 +6,5 @@
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"