1 // { dg-do assemble } 2 // PRMS Id: 4864 3 // Bug: g++ can't deal with a guiding declaration which comes before the 4 // template. 5 6 void f (const int&, const int&); f(const T &,const T &)7template <class T> void f (const T&, const T&) { } 8 g(int a)9void g (int a) 10 { 11 f (a,a); // { dg-bogus "" } two identical candidates 12 } 13