Commit 86d97aa9 authored by Ian Lance Taylor's avatar Ian Lance Taylor

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
parent f1aefc0d
...@@ -9,5 +9,5 @@ ...@@ -9,5 +9,5 @@
package main package main
func foo() (a, b, c int) { 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"
} }
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