summaryrefslogtreecommitdiffstats
path: root/test/input/Class-template-recurse.cxx
blob: 37c73e039025e6434c0d1dbda09bdc48bbd1649f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
template <typename T> struct A;
template <typename T> struct C;
template <typename T> struct B {
  typedef C<T> type;
};
template <typename T> struct C {
  C() {
    /* clang-format off */
    static_cast<void>(sizeof(typename B< A<T> >::type));
    /* clang-format on */
  }
};
C<void> start;