public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
[parent not found: <bug-11764-4@http.gcc.gnu.org/bugzilla/>]
* [Bug c++/11764] New: g++ does not treat injected class name correctly.
@ 2003-08-01 17:00 gdr at gcc dot gnu dot org
  2003-08-13  3:15 ` [Bug c++/11764] [DR147] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 28+ messages in thread
From: gdr at gcc dot gnu dot org @ 2003-08-01 17:00 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: g++ does not treat injected class name correctly.
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gdr at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: all
  GCC host triplet: all
GCC target triplet: all

cc1plus does not implement the class name injection correctly.
In particular the snipped below should be rejected on the basis that
A::A does not name a type (it designates a constructor)

  struct A { };

  int main()
  {
     A::A a;       // should be an ERROR
  }


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

end of thread, other threads:[~2013-03-15 13:50 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-11764-1000@http.gcc.gnu.org/bugzilla/>
2007-05-08 19:45 ` [Bug c++/11764] [DR147] g++ does not treat injected class name correctly fang at csl dot cornell dot edu
2007-10-04 18:47 ` bangerth at dealii dot org
2008-05-23  5:45 ` pinskia at gcc dot gnu dot org
2008-06-11 23:45 ` pinskia at gcc dot gnu dot org
2009-04-27  4:11 ` pinskia at gcc dot gnu dot org
2009-05-29 15:15 ` pinskia at gcc dot gnu dot org
2009-05-30  8:46 ` Woebbeking at web dot de
2009-05-30 16:03 ` ian at airs dot com
2009-06-01 10:28 ` Woebbeking at web dot de
2009-11-16  6:22 ` pinskia at gcc dot gnu dot org
2009-11-16 14:06 ` paolo dot carlini at oracle dot com
2009-11-23 22:57 ` jason at gcc dot gnu dot org
2009-11-24 20:56 ` jason at gcc dot gnu dot org
2009-11-24 21:05 ` jason at gcc dot gnu dot org
2009-11-24 21:05 ` jason at gcc dot gnu dot org
2010-04-09  2:57 ` pinskia at gcc dot gnu dot org
     [not found] <bug-11764-4@http.gcc.gnu.org/bugzilla/>
2013-02-20 16:33 ` Woebbeking at web dot de
2013-02-20 17:03 ` redi at gcc dot gnu.org
2013-03-15  9:25 ` Woebbeking at web dot de
2013-03-15 13:37 ` jason at gcc dot gnu.org
2013-03-15 13:46 ` Woebbeking at web dot de
2013-03-15 13:50 ` redi at gcc dot gnu.org
2003-08-01 17:00 [Bug c++/11764] New: " gdr at gcc dot gnu dot org
2003-08-13  3:15 ` [Bug c++/11764] [DR147] " pinskia at gcc dot gnu dot org
2003-08-23  1:06 ` dhazeghi at yahoo dot com
2003-08-29  8:34 ` gdr at gcc dot gnu dot org
2004-08-04 23:32 ` giovannibajo at libero dot it
2004-08-27  1:52 ` pinskia at gcc dot gnu dot org
2004-08-27  1:54 ` 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).