https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104108
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[10/11/12 Regression] |[10/11/12 Regression] |template alias inside |[c++17+] template alias |template with static field |inside template with static |of template class rejected |field of template class | |rejected --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Ok, this is only rejected for -std=c++17 and -std=c++20 :).