mirror of
https://github.com/golang/go
synced 2024-11-22 01:04:40 -07:00
test: Match gccgo error messages.
bug298.go:10:2: error: expected declaration bug298.go:10:25: error: expected ‘;’ or newline after top level declaration bug298.go:10:25: error: expected declaration R=rsc CC=golang-dev https://golang.org/cl/2156046
This commit is contained in:
parent
ae2dc76335
commit
2660161533
@ -7,5 +7,5 @@
|
|||||||
package ddd
|
package ddd
|
||||||
|
|
||||||
func Sum() int
|
func Sum() int
|
||||||
for i := range []int{} { return i } // ERROR "return outside function"
|
for i := range []int{} { return i } // ERROR "return outside function|expected"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user