1 // PR c++/57545 2 3 template<typename T, long unsigned int N> 4 struct array { 5 T data[N]; 6 }; 7 8 template<typename T> 9 struct derived { 10 typedef long unsigned int size_type; 11 static const size_type n = 42; 12 13 array<int, n> a; 14 }; 15