https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110065
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #7 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
No need to fix this in 13 because that still has the
+ if (cxx_dialect >= cxx1y && type_uses_auto (r))
+ {
+ error ("invalid use of %<auto%> in template argument");
+ r = error_mark_node;
+ }
check in cp_parser_template_type_arg. Fixed thus.