1// PR c++/47897 2 3template < typename T, T N > 4struct S 5{ 6 static const T value = N; 7 typedef S< T, value + 1 > next; 8}; 9