Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.pt/friend25.C

raw
1 // { dg-do assemble }
2
3 template <class T> struct A;
4
5 struct B
6 {
7 template <class U>
8 friend class A<U>; // { dg-error "" } does not specialize any args
9 };
10
11 struct C
12 {
13 template <class U>
14 friend class A<U*>; // { dg-error "" } partial specialization
15 };