1 2 3 4 5
// PR c++/96604 struct A { template<typename T> operator T(); }; struct X {}; struct B { friend A::operator X(); };