aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/access5.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/access5.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/access5.C22
1 files changed, 0 insertions, 22 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/access5.C b/gcc/testsuite/g++.old-deja/g++.other/access5.C
deleted file mode 100644
index 0d58ea0b3f3..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.other/access5.C
+++ /dev/null
@@ -1,22 +0,0 @@
-// Build don't link:
-
-class A
-{
-protected:
- int i;
-};
-
-class B : private A
-{
-protected:
- A::i;
-};
-
-struct C : public B {
- friend int f(C *p);
-};
-
-int f(C *p) {
- return p->i;
-}
-