summaryrefslogtreecommitdiff
path: root/clang/test/Index/Inputs/redeclarations.h
blob: 7f0d7aebb8627bbc7136af9e4ff361bb813ac627 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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>;
};