]> Cypherpunks repositories - gostls13.git/commit
Tweak test to work with both 6g and gccgo.
authorIan Lance Taylor <iant@golang.org>
Tue, 15 Dec 2009 21:57:24 +0000 (13:57 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 15 Dec 2009 21:57:24 +0000 (13:57 -0800)
commit84e7cb0611d439dc181a279c8650b700dd1735ca
treeda8c30877cb18a2f43f54e1f19d3bae99f194f91
parent82747423937fa5c65b7f33af496505a3f77bedc8
Tweak test to work with both 6g and gccgo.

Pull the struct into a single line, since 6g reports the error
on the last line of the struct definition and gccgo reports it
on the first line.

6g:
bug215.go:12: invalid recursive type A

gccgo:
bug215.go:12:6: error: invalid recursive type ‘A’

R=rsc
https://golang.org/cl/180044
test/fixedbugs/bug215.go