public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19894] New: pointer-to-void member not rejected in template
@ 2005-02-11 12:10 reichelt at gcc dot gnu dot org
  2005-02-11 13:30 ` [Bug c++/19894] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-02-11 12:10 UTC (permalink / raw)
  To: gcc-bugs

The following invalid testcase is accepted since at least gcc 2.95.3
(pointer to void member should be rejected):

==================================
template<typename T> struct A
{
    T A::* p;
};

A<void> a;
==================================

-- 
           Summary: pointer-to-void member not rejected in template
           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=19894


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

end of thread, other threads:[~2005-06-08 11:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-11 12:10 [Bug c++/19894] New: pointer-to-void member not rejected in template reichelt at gcc dot gnu dot org
2005-02-11 13:30 ` [Bug c++/19894] " pinskia at gcc dot gnu dot org
2005-02-11 22:49 ` bangerth at dealii dot org
2005-02-14 19:47 ` reichelt at gcc dot gnu dot org
2005-05-16  3:06 ` donaldc at csgsolar dot com dot au
2005-06-07 19:40 ` reichelt at gcc dot gnu dot org
2005-06-08 11:09 ` cvs-commit at gcc dot gnu dot org
2005-06-08 11:12 ` reichelt 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).