https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103969
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|rejects-valid | Summary|'auto' parameter not |generic lambda is rejected |permitted in this context |as a template argument | |default --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Are you sure this is valid because clang rejects: template <auto t = [](auto){}> struct s { s(){t(1);} }; s<> t;