]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/access8.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / access8.C
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/access8.C b/gcc/testsuite/g++.old-deja/g++.jason/access8.C
deleted file mode 100644 (file)
index c8addcd..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// From: smidt@dd.chalmers.se (Peter Smidt)
-// Date: 25 Jan 1994 23:41:33 -0500
-// Bug: g++ forgets access decls after the definition.
-// Build don't link:
-
-class inh {
-        int a;
-protected:
-        void myf(int);
-};
-
-class mel : private inh {
-protected:
-        int t;
-       inh::myf;
-};
-
-class top_t : protected mel {
-public:
-        void myf(int);
-};
-
-void inh::myf(int i) {
-        a = i;
-}
-
-void top_t::myf(int i) {
-        inh::myf(i);
-}