Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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" }
};