[Bug c/51515] Unable to forward declare nested functions
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51515 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment #3 from Marek Polacek --- Because it's not valid C.
[Bug c/51515] Unable to forward declare nested functions
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() {} }
[Bug c/51515] Unable to forward declare nested functions
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51515 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||INVALID --- Comment #1 from Andrew Pinski 2011-12-12 23:09:32 UTC --- The following works: void f() { auto void g(void); g(); void g() {} }