X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fvirtual10.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fvirtual10.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=020a08214c56a76592097cebf285ab19f67c3f5c;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.other/virtual10.C b/gcc/testsuite/g++.old-deja/g++.other/virtual10.C deleted file mode 100644 index 020a0821..00000000 --- a/gcc/testsuite/g++.old-deja/g++.other/virtual10.C +++ /dev/null @@ -1,20 +0,0 @@ -// Build don't link: - -// Copyright (C) 2000 Free Software Foundation, Inc. -// Contributed by Nathan Sidwell 14 Nov 2000 - -// We failed to spot a static member which overrode a virtual - -struct A -{ - virtual int foo (char); - static int foo (); - virtual int foo (int); // ERROR - this function - static int foo (float); - virtual int foo (double); -}; - -struct B : A -{ - static int foo (int); // ERROR - cannot override -};