https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104699
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2022-02-26 Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- It says GNU C, not C++. But in any case, that example works fine for me, as does the simpler: template<typename T> struct S { }; S<int[0]> s; Please provide the info you were asked to provide by https://gcc.gnu.org/bugs