Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.dg / parse / constant6.C
blobdae01d47be3cbe3e4e06e4d98c8804037ce22626
1 // PR c++/19883
3 template<typename T> struct A
5   static const T i = 1;
6   char a[int(i)];
7 };
9 template<int> struct B {};
11 template<typename T> struct C
13   static const T i = 2;
14   B<int(i)> a;
17 template< typename T, T N >
18 struct integral_c
20   static const T value = N;
22   typedef integral_c< T, static_cast<T>((value + 1)) > next;