]> Cypherpunks repositories - gostls13.git/commit
test: match gccgo error messages
authorIan Lance Taylor <iant@golang.org>
Tue, 20 Sep 2011 23:47:17 +0000 (16:47 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 20 Sep 2011 23:47:17 +0000 (16:47 -0700)
commit1f27519988f98bb624c2ead73a9603db2c5a44f8
treed17f6b5a9cbc8a46c8496a41903ea744080c35a8
parent86d97aa981d3455704d1c5d31fbee5bc27eb5344
test: match gccgo error messages

Added a return to bug357.go to avoid an error which gccgo
reports but 6g does not.

bug353.go:16:14: error: reference to undefined identifer ‘io.ReadWriterCloser’

bug357.go:18:2: error: value computed is not used

bug358.go:14:11: error: imported and not used: ioutil
bug358.go:19:9: error: invalid use of type

bug359.go:25:14: error: redefinition of ‘a’
bug359.go:25:6: note: previous definition of ‘a’ was here
bug359.go:19:6: error: incompatible type in initialization (implicit assignment of ‘list.List’ hidden field ‘front’)

bug362.go:13:6: error: iota is only defined in const declarations
bug362.go:14:6: error: iota is only defined in const declarations
bug362.go:15:6: error: iota is only defined in const declarations

bug363.go:13:12: error: shift of non-integer operand
bug363.go:16:12: error: shift of non-integer operand

bug365.go:15:8: error: expected package

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5078046
test/fixedbugs/bug353.go
test/fixedbugs/bug357.go
test/fixedbugs/bug358.go
test/fixedbugs/bug359.go
test/fixedbugs/bug362.go
test/fixedbugs/bug363.go
test/fixedbugs/bug365.go