public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/17816] New: duplicate definition of abstract virtual function not diagnosed
@ 2004-10-03 19:44 rth at gcc dot gnu dot org
  2004-10-03 19:46 ` [Bug c++/17816] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-10-03 19:44 UTC (permalink / raw)
  To: gcc-bugs

struct S {
  virtual int foo() = 0;
};
 
int S::foo() { return 0; }
int S::foo() { return 0; }

Affects at least gcc 3.2 and forward.

-- 
           Summary: duplicate definition of abstract virtual function not
                    diagnosed
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: accepts-invalid, diagnostic
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rth at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2005-02-14 15:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-03 19:44 [Bug c++/17816] New: duplicate definition of abstract virtual function not diagnosed rth at gcc dot gnu dot org
2004-10-03 19:46 ` [Bug c++/17816] " pinskia at gcc dot gnu dot org
2005-01-20 23:52 ` [Bug c++/17816] duplicate definition of pure " reichelt at gcc dot gnu dot org
2005-02-09 18:40 ` aoliva at gcc dot gnu dot org
2005-02-09 19:47 ` pinskia at gcc dot gnu dot org
2005-02-14 17:47 ` cvs-commit at gcc dot gnu dot org
2005-02-14 19:28 ` pinskia 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).