Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.mike / p1248.C
blobd54e555f3b163f692f7139e5f843f26a0fcaea9d
1 // { dg-do run  }
2 // GROUPS passed pure-virt
3 extern "C" int printf (const char *, ...);
4 class Base {
5 public:
6   virtual ~Base() =0;
7 };
9 class Deranged : public Base {
10 public:
11   int value;
12   virtual ~Deranged();
16 Deranged::~Deranged(){}
18 void foo() {
19   Deranged d;
22 int main()
24   foo();
25   printf("PASS\n");
26   return 0;
29 Base::~Base () { }