https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96555
Eelis <gcc-bugzilla at contacts dot eelis.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gcc-bugzilla at contacts dot eelis | |.net --- Comment #2 from Eelis <gcc-bugzilla at contacts dot eelis.net> --- The following slightly simpler testcase is also accepted by clang and rejected by gcc with the same "involves template parameter" error: template<typename T, int i> struct X; template<typename T> struct X<T, sizeof(T)> {};