]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/access3.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / access3.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/access3.C b/gcc/testsuite/g++.old-deja/g++.other/access3.C
deleted file mode 100644 (file)
index 2ba2c0c..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// Build don't link:
-// The standard sez that a use of a name gets the most access it can through
-// the various paths that can reach it.  Here, the access decl in B gives
-// us access.
-
-struct A
-{
-  void f ();                   
-};
-
-struct B: private virtual A
-{
-  A::f;
-};
-
-struct C: private virtual A, public B
-{
-};
-
-int
-main ()
-{
-  C c;
-
-  c.f ();                      
-}