]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/override2.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / override2.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/override2.C b/gcc/testsuite/g++.old-deja/g++.other/override2.C
deleted file mode 100644 (file)
index 6466b7d..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-// Copyright (C) 2001 Free Software Foundation, Inc.
-// Contributed by Jason Merrill 14 Jun 2001 <jason@redhat.com>
-
-// Test for diagnosis of missing final overrider.
-
-struct A { virtual void f (); };
-struct B1: virtual A { virtual void f (); };
-struct B2: virtual A { virtual void f (); };
-struct C: public B1, public B2 {}; // ERROR - no final overrider