// PR c++/114888 template struct A { struct B {} *b; static const int c = sizeof (b) / sizeof (b[0]); }; const int d = A::c;