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