From c16bd4e207aa2b1a9b6cfd2b5828793455570311 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Fri, 8 Jun 2001 14:03:52 -0400 Subject: [PATCH] duplicate From-SVN: r43036 --- gcc/testsuite/g++.old-deja/g++.abi/vtable4.C | 27 -------------------- 1 file changed, 27 deletions(-) delete mode 100644 gcc/testsuite/g++.old-deja/g++.abi/vtable4.C diff --git a/gcc/testsuite/g++.old-deja/g++.abi/vtable4.C b/gcc/testsuite/g++.old-deja/g++.abi/vtable4.C deleted file mode 100644 index 8190c0e9bdc..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.abi/vtable4.C +++ /dev/null @@ -1,27 +0,0 @@ -// Test for proper handling of extreme virtual inheritance. -// Previously we failed to recognise that in the constructor vtable -// for B_skel in C_skel, A_base was still primary to B_base, even though -// not to B_skel. - -// From PR c++/3061. - -struct A_base { - virtual void foo() { } -}; -class A_skel : virtual public A_base { }; - -class B_base : virtual public A_base { }; -class B_skel : virtual public B_base, virtual public A_skel { }; - -class C_base : virtual public B_base { }; -class C_skel : virtual public C_base, virtual public B_skel { }; - -class D_base : virtual public C_base { }; -class D_skel : virtual public D_base, virtual public C_skel { }; - -class D_impl : virtual public D_skel { }; - -int main() -{ - D_impl i; -} -- 2.30.2