Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
dtor.C
blob: 2dc5f8cd611a16eb40a3e279146846f403b07deb [
file
] [
log
] [
blame
]
// { dg-do assemble }
struct
A
{
~
A
();
};
struct
B
{
~
B
();
};
int
main
()
{
A a
;
a
.~
B
();
// { dg-error "" } wrong name
}