blob: 2dc5f8cd611a16eb40a3e279146846f403b07deb [file] [log] [blame]
// { dg-do assemble }
struct A {
~A();
};
struct B {
~B();
};
int main()
{
A a;
a.~B(); // { dg-error "" } wrong name
}