blob: bd21daef0c658bde48960f654a3c8d25bb3de1d8 [file] [log] [blame]
// PR c++/38256
// { dg-options "-std=c++0x" }
template<int> struct A
{
template<typename T> operator T();
};
void foo()
{
A<0>().operator auto(); // { dg-error "auto.*conversion" }
}