]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.abi/primary2.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.abi / primary2.C
diff --git a/gcc/testsuite/g++.old-deja/g++.abi/primary2.C b/gcc/testsuite/g++.old-deja/g++.abi/primary2.C
deleted file mode 100644 (file)
index 795eb4d..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright (C) 2000 Free Software Foundation, Inc.
-// Contributed by Nathan Sidwell 4 February 2001 <nathan@codesourcery.com>
-
-// Check primary bases are chosen correctly.
-
-struct A {virtual void Foo () {}};
-struct B : virtual A {};
-struct C : virtual B {};
-struct D : virtual B, virtual C {};
-
-int main ()
-{
-  D d;
-
-#if __GXX_ABI_VERSION >= 100
-  if (sizeof (D) != sizeof (A))
-    return 1;
-#endif
-
-  return 0;
-}