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