2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / template9.C
blob7a12ebf4a83c44955f9b43603ba8bc3a55ca7d44
1 // { dg-do assemble  }
2 // PRMS Id: 4864
3 // Bug: g++ can't deal with a guiding declaration which comes before the
4 // template.
6 void f (const int&, const int&);
7 template <class T> void f (const T&, const T&) { }
9 void g (int a)
11   f (a,a); // { dg-bogus "" } two identical candidates