https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84269
--- Comment #6 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Another one, affecting C++ only:
void f() {
printf("test");
}
<source>: In function 'void f()':
<source>:2:5: error: 'printf' was not declared in this scope
printf("test");
^~~~~~
<source>:2:5: note: suggested alternative: 'int'
printf("test");
^~~~~~
int
