1 // PR c++/19733
2 
3 struct A {};
4 typedef int I;
foo()5 void foo() {
6   A().~A; // { dg-error "" }
7   A().A::~A; // { dg-error "" }
8   (int().I::~I, 3); // { dg-error "" }
9   int().I::~I; // { dg-error "" }
10 }
11 
12 
13