]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.old-deja/g++.pt/friend25.C
pt.c (instantiate_decl): Tell the repository code about the clones, not the cloned...
[gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / friend25.C
1 // Build don't link:
2
3 template <class T> struct A;
4
5 struct B
6 {
7 template <class U>
8 friend class A<U>; // ERROR - does not specialize any args
9 };
10
11 struct C
12 {
13 template <class U>
14 friend class A<U*>; // ERROR - partial specialization
15 };
This page took 0.036883 seconds and 5 git commands to generate.