Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
g++.dg
/
init
/
pr60572.C
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
()
{}
};