]> gcc.gnu.org Git - gcc.git/blame_incremental - gcc/testsuite/g++.old-deja/g++.pt/friend32.C
pt.c (instantiate_decl): Tell the repository code about the clones, not the cloned...
[gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / friend32.C
... / ...
CommitLineData
1// Build don't link:
2
3template <class T, class U>
4struct S {
5 template <class X, class Y, class Z>
6 friend X f(X, Y, Z);
7};
8
9template class S<int, double>;
10template char f(char, long, short);
11template char* f(char*, long*, short*);
12
13template <class X, class Y, class Z>
14X f(X x, Y, Z) {
15 return x;
16}
This page took 0.024265 seconds and 5 git commands to generate.