Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / template / instantiate6.C
blobd5d712ee09122b4ab6b5e9615a00eb1e9836eca3
1 // { dg-do compile }
3 // Origin: gianni@mariani.ws
4 //       Wolfgang Bangerth <bangerth@ticam.utexas.edu>
6 // PR c++/13289: ICE recursively instantiate static member data.
8 template <int N> struct S { 
9     static const int C; 
10 }; 
12 template <int N> 
13 const int S<N>::C = S<(N+1)%2>::C;
15 template struct S<1>;