This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/40294] New: method definition can have the class scope multiple time
- From: "Woebbeking at web dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 May 2009 13:54:40 -0000
- Subject: [Bug c++/40294] New: method definition can have the class scope multiple time
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Hi,
is it correct that
struct S
{
S();
};
S::S::S::S::S()
{
}
int main()
{
S s;
return 0;
}
compiles? At least other compilers have problems with that.
Cheers,
André
--
Summary: method definition can have the class scope multiple time
Product: gcc
Version: 4.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: Woebbeking at web dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40294