[Bug c/51515] Unable to forward declare nested functions
SztfG at yandex dot ru
gcc-bugzilla@gcc.gnu.org
Sun Jul 30 07:55:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51515
SztfG at yandex dot ru changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |SztfG at yandex dot ru
--- Comment #2 from SztfG at yandex dot ru ---
but why this doesn't compile?
void f()
{
typedef auto void (*func)();
func g(void);
g();
func g() {}
}
More information about the Gcc-bugs
mailing list