// PR c++/41994 template struct A { operator T(); A() { T (A::*f)() = &A::operator T; } }; A a;