aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/using1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/using1.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/using1.C26
1 files changed, 0 insertions, 26 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/using1.C b/gcc/testsuite/g++.old-deja/g++.other/using1.C
deleted file mode 100644
index d22d512f64b..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.other/using1.C
+++ /dev/null
@@ -1,26 +0,0 @@
-class D2;
-
-class B {
-private:
- int a; // ERROR - B::a is private
-protected:
- int b;
-
- friend class D2;
-};
-
-class D : public B {
-public:
- using B::a;
- using B::b;
-}; // ERROR - within this context
-
-class D2 : public B {
-public:
- using B::a;
- using B::b;
-
-private:
- using B::b;
-}; // ERROR - conflicting access specifications
-