diff options
author | Ian Lance Taylor <iant@golang.org> | 2011-09-20 14:47:48 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2011-09-20 14:47:48 -0700 |
commit | 86d97aa981d3455704d1c5d31fbee5bc27eb5344 (patch) | |
tree | 9548f6ce5ec91223145eeb26170eee26273c21bf | |
parent | f1aefc0d36a5e3305a08c1d4b6954f685d32da57 (diff) | |
download | go-86d97aa981d3455704d1c5d31fbee5bc27eb5344.tar.gz go-86d97aa981d3455704d1c5d31fbee5bc27eb5344.zip |
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
-rw-r--r-- | test/fixedbugs/bug349.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/bug349.go b/test/fixedbugs/bug349.go index 07005973e7..e7612edb77 100644 --- a/test/fixedbugs/bug349.go +++ b/test/fixedbugs/bug349.go @@ -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" } |