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