]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/access15.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / access15.C
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/access15.C b/gcc/testsuite/g++.old-deja/g++.jason/access15.C
deleted file mode 100644 (file)
index 1149a94..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-// Bug: g++ complains about Z being a private base when trying to
-// initialize B::foo.
-// Build don't link:
-
-struct Z {
-  Z();
-  Z(int);
-};
-
-struct A : private Z { };
-struct B : public A
-{
-    ::Z foo;
-    B();
-    B(const B&);
-};
-
-B::B() : foo(1) { }            // gets bogus error