blob: a6f31f63def3c699e562f79534a511a66af557a0 [file] [log] [blame]
// PR c++/60312
// { dg-do compile { target c++1y } }
template<typename> struct A;
template<> struct A<auto> // { dg-error "auto|template argument" }
{
template<int> void foo();
};
void bar()
{
A<auto>().foo<0>(); // { dg-error "auto|template argument" }
}
// { dg-prune-output "expected" }