1// PR c++/13310 2 3struct A {}; 4 5template <typename> void foo() 6{ 7 A a; 8 a.foo<int>(); // { dg-error "" } 9} 10