This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21498] clause 7.1.5.3/2 of the c++ is not enforced
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Jul 2006 22:09:29 -0000
- Subject: [Bug c++/21498] clause 7.1.5.3/2 of the c++ is not enforced
- References: <bug-21498-8718@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from mmitchel at gcc dot gnu dot org 2006-07-01 22:09 -------
This code is not invalid, and G++ is correct to accept it.
DR68 permits this grammatical production and typedef-names for classes are
class-names.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21498