public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/33659] g++ permits duplicate class names in definition
       [not found] <bug-33659-4@http.gcc.gnu.org/bugzilla/>
@ 2021-12-07  2:09 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-07  2:09 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33659

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is actually valid code, the class name is injected and can be used in this
context (the last one is used to name the constructor otherwise).
Dup of bug 40294 which is recording all of the valid cases which were closed as
a dup of bug 11764.

*** This bug has been marked as a duplicate of bug 40294 ***

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

* [Bug c++/33659] g++ permits duplicate class names in definition
  2007-10-04 17:24 [Bug c++/33659] New: " ian at airs dot com
  2007-10-04 17:26 ` [Bug c++/33659] " pinskia at gcc dot gnu dot org
@ 2007-10-04 18:47 ` bangerth at dealii dot org
  1 sibling, 0 replies; 3+ messages in thread
From: bangerth at dealii dot org @ 2007-10-04 18:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from bangerth at dealii dot org  2007-10-04 18:46 -------
Yes. I believe there may also be another report about the same problem.

W.

*** This bug has been marked as a duplicate of 11764 ***


-- 

bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

* [Bug c++/33659] g++ permits duplicate class names in definition
  2007-10-04 17:24 [Bug c++/33659] New: " ian at airs dot com
@ 2007-10-04 17:26 ` pinskia at gcc dot gnu dot org
  2007-10-04 18:47 ` bangerth at dealii dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-10-04 17:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-10-04 17:25 -------
I think this is a dup of bug 11764.


-- 


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


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

end of thread, other threads:[~2021-12-07  2:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-33659-4@http.gcc.gnu.org/bugzilla/>
2021-12-07  2:09 ` [Bug c++/33659] g++ permits duplicate class names in definition pinskia at gcc dot gnu.org
2007-10-04 17:24 [Bug c++/33659] New: " ian at airs dot com
2007-10-04 17:26 ` [Bug c++/33659] " pinskia at gcc dot gnu dot org
2007-10-04 18:47 ` bangerth at dealii 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).