aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/template7.C
blob: 87d79a8ab7bfde77c117601512e958ec46f2d684 (plain)
1
2
3
4
5
6
7
8
9
// PRMS Id: 4826
// Build don't link:

class A;
template <class T> void f(const T&, const T&);

void g (const A& a, A& b) {
  f (a, b); // gets bogus error - failed unification
}