https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109679
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-05-02 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Keywords| |rejects-valid --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Confirmed. testfoo.cpp: In function 'int main()': testfoo.cpp:5:10: error: 'foo' was not declared in this scope 5 | return foo(); | ^~~