https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67488
--- Comment #3 from Andrew Pinski ---
A similar fix would be good for:
void g() {
void f(void);
}
void k() {int f(int); f(1);}
Saying f was declared in a different scope too.
Note I don't have access to clang so I can't say what it shows.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67488
Andrew Pinski changed:
What|Removed |Added
Keywords||diagnostic
--- Comment #2 from Andrew Pi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67488
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|