// PR c++/13969

struct B { 
  static const int N=10; 
}; 
 
template <int> struct X {}; 
 
template <typename> struct S { 
  static const int N = B::N; 
  X<N> x; 
}; 
 
template class S<float>; 


syntax highlighted by Code2HTML, v. 0.9.1