Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
dtor11.C
blob: 83fd93489f11f14590ef132164abaaf3600757bd [
file
] [
log
] [
blame
]
// PR c++/28606
// { dg-do compile }
struct
A
{
~
A A
();
// { dg-error "destructor" }
};
struct
B
{
A
::~
B B
();
// { dg-error "as member of|as a type" }
};