public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19440] New: Invalid destructor declaration in template class accepted
@ 2005-01-14 11:03 reichelt at gcc dot gnu dot org
  2005-01-14 13:20 ` [Bug c++/19440] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-01-14 11:03 UTC (permalink / raw)
  To: gcc-bugs

The following IMHO invalid code snippet is accepted
(since at least gcc 2.95.3).

===========================
template<int> struct A
{
    ~A<0>();
};
===========================

-- 
           Summary: Invalid destructor declaration in template class
                    accepted
           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=19440


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

end of thread, other threads:[~2005-02-19 20:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-14 11:03 [Bug c++/19440] New: Invalid destructor declaration in template class accepted reichelt at gcc dot gnu dot org
2005-01-14 13:20 ` [Bug c++/19440] " pinskia at gcc dot gnu dot org
2005-02-11  0:38 ` reichelt at gcc dot gnu dot org
2005-02-11  1:10 ` mark at codesourcery dot com
2005-02-20  2:01 ` cvs-commit 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).