[Bug c++/33659] New: g++ permits duplicate class names in definition
ian at airs dot com
gcc-bugzilla@gcc.gnu.org
Thu Oct 4 17:24:00 GMT 2007
This C++ program is accepted without error or warning by gcc 4.2 and mainline:
class c { void f(); };
void c::c::c::c::f() { }
Is that really valid?
--
Summary: g++ permits duplicate class names in definition
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33659
More information about the Gcc-bugs
mailing list