OSDN Git Service

2009-07-28 Jan Beulich <jbeulich@novell.com>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.jason / thunk3.C
index 8833348..612d423 100644 (file)
@@ -1,8 +1,8 @@
+// { dg-do run { xfail rs6000-*-* powerpc-*-eabi 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.
 
-// excess errors test - XFAIL mips*-*-* rs6000-*-* powerpc-*-eabi m68k-*-coff m68k-motorola-sysv m88k-motorola-sysv3  mn10300-*-* mn10200-*-* v850-*-* sh-*-* h8*-*-*
 
 #include <stdarg.h>
 
@@ -14,7 +14,7 @@ struct A {
 
 class CBase {
 public:
-   void BaseFunc();
+   virtual void BaseFunc();
 };
 
 class MMixin {