mirror of
https://github.com/golang/go
synced 2024-11-25 01:47:56 -07:00
test: match gccgo error messages for bug349.go
bug349.go:12:14: error: expected ‘;’ or ‘}’ or newline bug349.go:12:2: error: not enough arguments to return R=golang-dev, gri CC=golang-dev https://golang.org/cl/5081047
This commit is contained in:
parent
f1aefc0d36
commit
86d97aa981
@ -9,5 +9,5 @@
|
||||
package main
|
||||
|
||||
func foo() (a, b, c int) {
|
||||
return 0, 1 2.01 // ERROR "unexpected literal 2.01"
|
||||
return 0, 1 2.01 // ERROR "unexpected literal 2.01|expected ';' or '}' or newline|not enough arguments to return"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user