https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114888
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Reduced testcase: template <typename> struct A { struct B {} *b; static const int c { sizeof (b) / sizeof (b[0]) }; }; A<int> c; const int d = A<int>::c;