summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/template7.C
blob: 1b563e6198fcf23927810b6c951908ae145a140c (plain)
1
2
3
4
5
6
7
8
9
// { dg-do assemble  }
// PRMS Id: 4826

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

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