+// { dg-do run { xfail rs6000-*-* powerpc-*-eabi m68k-*-coff mn10300-*-* v850-*-* sh-*-* sh64-*-* h8*-*-* xtensa-*-* m32r*-* } }
// Test that variadic function calls using thunks work right.
// Note that this will break on any target that uses the generic thunk
// support, because it doesn't support variadic functions.
-// Special g++ Options: -fvtable-thunks
-// excess errors test - XFAIL mips*-*-* rs6000-*-* powerpc-*-eabi m68k-*-coff m68k-motorola-sysv m88k-motorola-sysv3
#include <stdarg.h>
class CBase {
public:
- void BaseFunc();
+ virtual void BaseFunc();
};
class MMixin {
return anExample.MixinFunc(1,2,3,4,5,6,7,8,9).p;
}
-main ()
+int main ()
{
CExample c;