diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/access13.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/access13.C | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/access13.C b/gcc/testsuite/g++.old-deja/g++.jason/access13.C deleted file mode 100644 index c12dd81dc87..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/access13.C +++ /dev/null @@ -1,15 +0,0 @@ -// PRMS Id: 4955 -// Build don't link: - -struct A { - protected: - int i; - void f (); -}; - -struct B: public A { - void g () { - this->A::i = 1; // gets bogus error - access control failure - this->A::f(); // gets bogus error - access control failure - } -}; |