blob: e0aad73c73e6ed5232dab9ff79401717bb13cf64 [file] [log] [blame]
// PR c++/13310
struct A {};
template <typename> void foo()
{
A a;
a.foo<int>(); // { dg-error "" }
}