summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/lookup1.C
blob: 0df77bac1c386d5e34b194fe2cda1843620c835c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
template <class T0>
class A {
public:
  class B;
};

template <class T0>
class A<T0>::B {
public:
  class C;
};

template <class T0>
class A<T0>::B::C {
public:
  A<T0> &a;
};