2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.dg / template / init2.C
blobb81e4be94b790930a7a67db5f962ebc3515576a2
1 // PR c++/9820
3 template <typename T> struct X {
4   template<typename> static int test(...);
5   template<typename> static int test(int *);
7   static const int i = sizeof(X<T>::template test<int>(0));
8 };
10 template class X<int>;