diff options
author | Ian Lance Taylor <iant@golang.org> | 2010-01-29 22:38:39 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2010-01-29 22:38:39 -0800 |
commit | 3ac6317614c1b0592749948ec2a4932014c53f80 (patch) | |
tree | cc4c9771c8532a922be53aec8fad1766db1e0692 | |
parent | fe8b427f2f40b5bdce54bf4c17aca70fb20ae33b (diff) | |
download | golang-3ac6317614c1b0592749948ec2a4932014c53f80.tar.gz |
Recognize gccgo error messages.
bug228.go:11:25: error: invalid use of ‘...’
bug228.go:13:13: error: ‘...’ only permits one name
bug228.go:15:20: error: ‘...’ must be last parameter
bug228.go:17:7: error: expected type
bug228.go:19:8: error: expected type
R=rsc
CC=golang-dev
http://codereview.appspot.com/196077
-rw-r--r-- | test/fixedbugs/bug228.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixedbugs/bug228.go b/test/fixedbugs/bug228.go index 682152ed9..243d20ee7 100644 --- a/test/fixedbugs/bug228.go +++ b/test/fixedbugs/bug228.go @@ -14,6 +14,6 @@ func h(x, y ...) // ERROR "[.][.][.]" func i(x int, y ..., z float) // ERROR "[.][.][.]" -var x ...; // ERROR "[.][.][.]|syntax" +var x ...; // ERROR "[.][.][.]|syntax|type" -type T ...; // ERROR "[.][.][.]|syntax" +type T ...; // ERROR "[.][.][.]|syntax|type" |