aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/visibility11.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.law/visibility11.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.law/visibility11.C52
1 files changed, 0 insertions, 52 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.law/visibility11.C b/gcc/testsuite/g++.old-deja/g++.law/visibility11.C
deleted file mode 100644
index eeda777e116..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.law/visibility11.C
+++ /dev/null
@@ -1,52 +0,0 @@
-// Build don't link:
-// Special g++ Options: -w
-// GROUPS passed visibility
-// visibility file
-// From: Alan Shepherd <a.shepherd@nexor.co.uk>
-// Date: Tue, 22 Jun 1993 14:53:23 +0100
-// Subject: bug with MI in gcc-2.4.5
-// Message-ID: <9659.740757203@nexor.co.uk>
-
-class A
-{
- int a;
-
-protected:
-
- virtual void State(int b) { a = b; }
-
-};
-
-class B : public A
-{
- char* foo;
-
-public:
-
- B(const char*);
-};
-
-class C : public A
-{
- char* foo2;
-
-public:
-
- C(const char*);
-};
-
-class D : public B, public C
-{
-public:
- D();
-protected:
-
- virtual void State(int a)
- {
- B::State(a);
- C::State(a);
- }
-};
-
-
-