1 // { dg-do compile { target c++14 } } 2 3 struct A { 4 template <class T> autoA5 operator auto() { return T(); } // { dg-warning "auto.*template" } 6 }; 7