public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/18155] New: [3.4/4.0 regression] typedef in template declaration not rejected
@ 2004-10-26  9:53 reichelt at gcc dot gnu dot org
  2004-10-26 12:11 ` [Bug c++/18155] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-10-26  9:53 UTC (permalink / raw)
  To: gcc-bugs

The following invalid line of code is accepted since gcc 3.4.0:

=================================================
template<int> typedef struct A;
=================================================

Looks like the new parser caused this.

-- 
           Summary: [3.4/4.0 regression] typedef in template declaration not
                    rejected
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: accepts-invalid, monitored
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-07-28 10:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-26  9:53 [Bug c++/18155] New: [3.4/4.0 regression] typedef in template declaration not rejected reichelt at gcc dot gnu dot org
2004-10-26 12:11 ` [Bug c++/18155] " pinskia at gcc dot gnu dot org
2004-11-01  0:45 ` mmitchel at gcc dot gnu dot org
2004-11-02 23:56 ` mmitchel at gcc dot gnu dot org
2004-11-03  2:48 ` cvs-commit at gcc dot gnu dot org
2004-11-03  2:56 ` [Bug c++/18155] [3.4 " mmitchel at gcc dot gnu dot org
2005-05-19 17:24 ` mmitchel at gcc dot gnu dot org
2005-07-28 10:26 ` cvs-commit at gcc dot gnu dot org
2005-07-28 10:26 ` giovannibajo at libero dot it

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).