Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.jason/template7.C

raw
1 // { dg-do assemble }
2 // PRMS Id: 4826
3
4 class A;
5 template <class T> void f(const T&, const T&);
6
7 void g (const A& a, A& b) {
8 f (a, b); // { dg-bogus "" } failed unification
9 }