X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.abi%2Fprimary2.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.abi%2Fprimary2.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=795eb4d61c0e2a97295b8b54ee70c6573f89da34;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git 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 index 795eb4d6..00000000 --- a/gcc/testsuite/g++.old-deja/g++.abi/primary2.C +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (C) 2000 Free Software Foundation, Inc. -// Contributed by Nathan Sidwell 4 February 2001 - -// 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; -}