// PR c++/37140 struct C { static const int block_size = 1; }; template struct A { typedef C type; }; template struct B : public A { using typename A::type; static const int block_size = type::block_size; }; template class B;