This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/7065: ...
- From: Nathanael Nerode <neroden at twcny dot rr dot com>
- To: daniel dot frey at aixigo dot de, gcc-gnats at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: Sat, 11 Jan 2003 19:11:14 -0500
- Subject: Re: c++/7065: ...
- Reply-to: neroden at twcny dot rr dot com
With mainline, it now gives the interesting error:
ice.cxx:3: error: abstract declarator `<anonymous class>' used as declaration
ice.cxx:3: error: namespace-scope anonymous aggregates must be static
I leave it to wiser people to verify that this example is really legal (given
that it's stupid) and that the errors are wrong.