https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119838
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2025-04-16 Status|UNCONFIRMED |NEW Summary|optional template keyword |optional template keyword |causing error |with global namespace | |causing error Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. It only happens with the global namespace specified (without another namespace). Related to a few other issues. PR 50080 fixed the non-global namespace version.