]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/access17.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / access17.C
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/access17.C b/gcc/testsuite/g++.old-deja/g++.jason/access17.C
deleted file mode 100644 (file)
index 676eac1..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-// Make sure definitions of static members have the right access.
-// Build don't link:
-
-struct A {
-protected:
-  int i;                        // ERROR - private
-  int f ();                    // ERROR - 
-};
-
-struct B: public A {
-  static int A::*p;
-  static int (A::*fp)();
-};
-
-int A::* B::p = &A::i;
-int (A::* B::fp)() = &A::f;
-
-struct C {
-  static int A::*p;
-  static int (A::*fp)();
-};
-
-int A::* C::p = &A::i;         // ERROR - 
-int (A::* C::fp)() = &A::f;    // ERROR -