summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/inherit8.C
blob: a9b2bdb5601604ed96da9dcd91cbe55ebe227542 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// PR c++/52685

template <typename T>
struct A
{
  template <typename U>
  struct B : public A <B<U> >
  {
    struct C : public B<U>
    {
    };
  };
};