1// PR c++/25625 2// { dg-options "-frepo" } 3// { dg-final { cleanup-repo-files } } 4 5template< typename T, T N > struct integral_c { 6 static const T value = N; 7 typedef integral_c< T, value + 1 > next; 8}; 9template< typename T, T N > T const integral_c< T, N >::value; 10integral_c<int,0> a; 11 12int main () {} 13