blob: 7f0d7aebb8627bbc7136af9e4ff361bb813ac627 [file] [log] [blame]
class X
{
friend class A;
};
template <typename T1, typename T2>
class B
{
};
template <class T>
struct C
{
};
class D
{
B<D, class A> x;
friend struct C<A>;
};