Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.dg / template / static17.C
blobbf79bccc3284e34797f83dd5b42b725fbcb4c730
1 // PR c++/23896
3 template <int> struct X {}; 
4  
5 template <typename T> struct length { 
6   static const int value = 2; 
7 }; 
8  
9 template <typename T> void foo () { 
10   sizeof(X<length<T>::value>); 
11
13 template void foo<int>();