Update ChangeLogs and version numbers for 2.95.3 release
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.law / visibility12.C
blob3aa6d6b26b86a259a5f7f1ebf91b41c3ddb540e4
1 // Build don't link: 
2 // GROUPS passed visibility
3 // visibility file
4 // From: Mark Rawling <Mark.Rawling@mel.dit.csiro.au>
5 // Date:     Wed, 30 Jun 93 15:28:34 +1000
6 // Subject:  member access rule bug
7 // Message-ID: <9306300528.AA17185@coda.mel.dit.CSIRO.AU>
8 struct a {
9   int aa; // ERROR - private
10         };
12 class b : private a {
13         };
15 class c : public b {
16         int xx(void) { return (aa); }  // aa should be invisible// ERROR - .*
17         };