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