https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109018
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |INVALID --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note g can be still found after the declaration via argument dependent lookup. Just int is a base type so it does not have a namespace associated with it.