diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/template7.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/template7.C | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/template7.C b/gcc/testsuite/g++.old-deja/g++.jason/template7.C new file mode 100644 index 000000000..1b563e619 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.jason/template7.C @@ -0,0 +1,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 +} |