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
6void f (const int&, const int&);
7template <class T> void f (const T&, const T&) { }
8
9void g (int a)
10{
11  f (a,a); // { dg-bogus "" } two identical candidates
12}
13