1 // PR c++/41994
2 
3 template<typename T> struct A
4 {
5   operator T();
AA6   A() { T (A::*f)() = &A::operator T; }
7 };
8 
9 A<int> a;
10