[Bug c++/33659] g++ permits duplicate class names in definition

2021-12-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33659 --- Comment #3 from Andrew Pinski --- 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 whi

[Bug c++/33659] g++ permits duplicate class names in definition

2007-10-04 Thread bangerth at dealii dot org
--- 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

[Bug c++/33659] g++ permits duplicate class names in definition

2007-10-04 Thread pinskia at gcc dot gnu dot org
--- 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