blob: a39dfa09a65a220946865b7479eae9c338a337a1 [file] [log] [blame]
// PR c++/60572
// { dg-do compile }
struct A
{
A x; // { dg-error "incomplete type" }
virtual ~A () {}
};
struct B : A
{
B () : A () {}
};