X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fvirtual11.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fvirtual11.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=62c9b24613f386c189b8ce6174920e3e24636234;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.other/virtual11.C b/gcc/testsuite/g++.old-deja/g++.other/virtual11.C deleted file mode 100644 index 62c9b246..00000000 --- a/gcc/testsuite/g++.old-deja/g++.other/virtual11.C +++ /dev/null @@ -1,31 +0,0 @@ -// Build don't link: - -// Copyright (C) 2000 Free Software Foundation, Inc. -// Contributed by Nathan Sidwell 14 Nov 2000 - -// We failed to check virtual functions hidden by using declarations. - -struct A -{ - virtual int foo (); -}; - -struct B -{ - virtual void foo (); // ERROR - of this function -}; - -struct C : A , B -{ -}; - -struct D : C -{ - void foo (short); - using A::foo; -}; - -struct E : D -{ - virtual int foo (); // ERROR - invalid override -};