Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / init / static2.C
blobb0344f480669bf901413285f8f7858be8d37a0ac
1 // PR 14804
2 // { dg-do run }
4 struct A {
5   virtual void foo() = 0;
6 };
8 struct B : public A {
9   virtual void bar() = 0;
12 typedef void (A::*mfptr)();
14 struct D {
15   mfptr p;
18 static const D ds[] = {
19   { reinterpret_cast<mfptr>(&B::bar) },
22 int main()
24   return 0;