https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102774
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2022-05-18 00:00:00 |2024-5-21 --- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- Another one: template<class /* oops T not declared */> void func(T) { } f.cc:1:48: error: variable or field ‘func’ declared void 1 | template<class /* oops T not declared */> void func(T) { } | ^~~~ f.cc:1:53: error: ‘T’ was not declared in this scope 1 | template<class /* oops T not declared */> void func(T) { } | ^