1 // Test that the error message mentions the template arguments. 2 3 struct A 4 { 5 template <class T> void f(T); 6 void f(); 7 }; 8 main()9 int main() 10 { 11 A().f<1>(); // { dg-error "f<1>" } 12 } 13