template class A { typedef T I; }; template void f(typename T::I); template void f(int); int main() { f > (1); }