[Bug c++/51674] No errors on non-existent symbol in constructor
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Dec 24 14:14:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51674
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-12-24 14:12:08 UTC ---
that doesn't call a constructor, it declares an object called a, so is
identical to:
Foo()
{
Foo a;
}
which causes an infinite recursion
More information about the Gcc-bugs
mailing list