1 // PR c++/13969
2 
3 struct B {
4   static const int N=10;
5 };
6 
7 template <int> struct X {};
8 
9 template <typename> struct S {
10   static const int N = B::N;
11   X<N> x;
12 };
13 
14 template class S<float>;
15