[Bug c/51515] Unable to forward declare nested functions
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 12 23:12:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51515
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-12-12 23:09:32 UTC ---
The following works:
void f()
{
auto void g(void);
g();
void g() {}
}
More information about the Gcc-bugs
mailing list