[Bug c++/11551] [3.4 regression] g++ accepts typedef as destructor name

jason at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jul 16 22:20:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11551


jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-07-16 22:20:53
               date|                            |
            Summary|[3.4 regression] g++ accepts|[3.4 regression] g++ accepts
                   |specialization typedef as   |typedef as destructor name
                   |destructor name             |


------- Additional Comments From jason at gcc dot gnu dot org  2003-07-16 22:20 -------
Actually, the bug doesn't seem to be template-related.  A simpler testcase:

struct A {
  typedef A A2;
  ~A2();
};



More information about the Gcc-bugs mailing list