blob: 3176dc06d0b6485e610a3b7d5129f4e5f7d1c522 (
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> > // { dg-error "declaration" }
{
struct C : public B<U> // { dg-error "incomplete" }
{
};
};
};
|