https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110911
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2023-08-05 Status|UNCONFIRMED |NEW --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- I think this would need a very specific custom diagnostic just for this case. But I think I've made the same typo myself and I agree it would be nice, if it's possible to do.