public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19396] New: [3.4/4.0 regression] Invalid template in typedef accepted
@ 2005-01-12 13:07 reichelt at gcc dot gnu dot org
  2005-02-02  1:51 ` [Bug c++/19396] [3.4 " reichelt at gcc dot gnu dot org
  2005-05-19 17:26 ` mmitchel at gcc dot gnu dot org
  0 siblings, 2 replies; 4+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-01-12 13:07 UTC (permalink / raw)
  To: gcc-bugs

Without "-pedantic" the following invalid code snippet is accepted
since gcc 3.4.0:

================================
template<typename> struct A
{
    typedef int A::template X;
};
================================

-- 
           Summary: [3.4/4.0 regression] Invalid template in typedef
                    accepted
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: accepts-invalid
          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=19396


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

end of thread, other threads:[~2006-02-28  9:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-19396-1771@http.gcc.gnu.org/bugzilla/>
2005-10-07  3:48 ` [Bug c++/19396] [3.4 regression] Invalid template in typedef accepted gdr at gcc dot gnu dot org
2006-02-28  9:54 ` gdr at gcc dot gnu dot org
2005-01-12 13:07 [Bug c++/19396] New: [3.4/4.0 " reichelt at gcc dot gnu dot org
2005-02-02  1:51 ` [Bug c++/19396] [3.4 " reichelt at gcc dot gnu dot org
2005-05-19 17:26 ` mmitchel at gcc dot gnu dot org

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).