Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.dg / parse / dtor5.C
blob297a0e73714591830564fc49e9ae1b3fe27efd55
1 // PR c++/19732
3 struct A;
4 typedef int ~A; // { dg-error "non-function" }
5 struct B { 
6   ~A(); // { dg-error "" }
7   typedef int ~A; // { dg-error "non-function" }
8   void f() {
9     extern ~B(); // { dg-error "non-member" }
10   }
12 void ~A(); // { dg-error "non-member" }