1 // PR c++/9820 2 3 template <typename T> struct X { 4 template<typename> static int test(...); 5 template<typename> static int test(int *); 6 7 static const int i = sizeof(X<T>::template test<int>(0)); 8 }; 9 10 template class X<int>; 11