Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / other / vthunk1.C
blob90165628b4510a0a441406d9d155b780a04130d0
1 // PR c++/12007 Multiple inheritance float pass by value fails
2 // { dg-do run }
4 extern "C" void abort (void);
6 class gvImpl
8 public:
9   virtual void PutVal(float value){}
12 class foo { public: virtual void Bar(){} };
14 class myGv: public foo, public gvImpl
16   void PutVal(float value){ if (value != 3.14159f) abort (); }
19 myGv x;
20 gvImpl* object = &x;
22 int main()
24   object->PutVal(3.14159f);
25   return 0;