// PR c++/38256 // { dg-do compile { target c++11 } } template struct A { template operator T(); }; void foo() { A<0>().operator auto(); // { dg-error "auto" } }