https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98163
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org, | |marxin at gcc dot gnu.org Ever confirmed|0 |1 Last reconfirmed| |2020-12-07 Status|UNCONFIRMED |NEW --- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- This one started with r7-4431-g4a826ca6feb3c7ec, it was rejected before that: pr98163.C:1:17: error: ‘auto’ parameter not permitted in this context template <auto& ref> ^~~ pr98163.C:10:15: note: invalid template non-type parameter void bar(S<arr> s) { ^ pr98163.C:17:15: note: invalid template non-type parameter void baz(S<arr> s) { ^