Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
dtor1.C
blob: 291228764012626876743814909c9c6a3eb78956 [
file
] [
log
] [
blame
]
// PR c++/12333
struct
A
{
};
struct
X
{
void
f
()
{
X
::~
X
();
this
->~
X
();
~
X
();
// { dg-error "" "unary ~" }
A
::~
A
();
// { dg-error "" }
X
::~
A
();
// { dg-error "" }
}
};