]> Cypherpunks repositories - gostls13.git/commit
test: gccgo and gc print the error on different lines.
authorIan Lance Taylor <iant@golang.org>
Tue, 31 Aug 2010 21:12:23 +0000 (14:12 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 31 Aug 2010 21:12:23 +0000 (14:12 -0700)
commit09977734cd63aa31563cd11a3786e8951758b041
tree809b9a1ea8433d2654b76154dbac4590c91d4542
parent472cd3af12609ded3484cfdf7f58083c42153a9c
test: gccgo and gc print the error on different lines.

This introduces GC_ERROR to mark an error only issued by the
gc compiler.  GCCGO_ERROR already exists to mark errors only
issued by the gccgo compiler.  Obviously these should be used
sparingly.

bug195.go:9: error: interface contains embedded non-interface
bug195.go:12: error: interface contains embedded non-interface
bug195.go:15: error: interface contains embedded non-interface
bug195.go:18: error: invalid recursive interface
bug195.go:22: error: invalid recursive interface

R=rsc
CC=golang-dev
https://golang.org/cl/2040043
test/errchk
test/fixedbugs/bug195.go