https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120224
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2025-05-11 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note this is not invalid for being ambious. Just the declaration and definition names the same template function but add an extra constraint on them. It is invalid due to `++int{}` would be invalid.