// PR c++/18470 template struct A { static const int i=1; }; template struct B : A { using A::i; char s[i]; // fails char t[A::i]; // compiles };