// DR 1391 template struct Z { typedef typename T::x xx; }; template typename Z::xx f(void *, T); template void f(int, T); struct A {} a; int main() { f(1, a); // If the implementation rules out the first overload // because of the invalid conversion from int to void*, // the error instantiating Z will be avoided }