mirror of
https://github.com/golang/go
synced 2024-11-23 21:10:05 -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:
parent
9c1b6dffd6
commit
b2d540acac
@ -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 @@
|
|||||||
|
|
||||||
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"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user