1 // PR c++/83714 2 // { dg-do compile { target c++11 } } 3 4 class a { 5 typedef int b; 6 operator b(); 7 }; 8 struct c { 9 using d = a; 10 }; 11 using e = c; 12 13 template <class T> f(T)14 e f(T) { 15 return e::d {}; // { dg-error "could not convert" } 16 } 17