summaryrefslogtreecommitdiffstats
path: root/test/input/invalid-decl-for-type.cxx
blob: 5c2225f1230cfcc40dd835a8eea4a0b00ed843a2 (plain)
1
2
3
4
5
6
7
template<typename T> struct A { T x; };
template<typename T> struct B { B() { A<T> a; } };
struct Incomplete;
struct start {
  B<Incomplete> b;
  typedef A<Incomplete> type;
};