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