2 // f() should be able to access B::j, as of FDIS [class.protected]/1
4 // Subject: Re: [bug] Inheritance and friend access control broken
5 // References: <199803032141.WAA09332@piano.dptmaths.ens-cachan.fr>
6 // <orhg5ff544.fsf@iguacu.dcc.unicamp.br>
7 // <199803041125.MAA06937@cor.dptmaths.ens-cachan.fr>
8 // <orn2f6ek92.fsf@iguacu.dcc.unicamp.br> <19980304102900.46897@dgii.com>
9 // From: Alexandre Oliva <oliva@dcc.unicamp.br>
10 // Date: 06 Mar 1998 01:43:18 -0300
25 int i; // ERROR - in this context
51 ((B*)0)->i = 3; // ERROR - protected
60 ((B*)0)->i = 3; // ERROR - protected
66 template void g<int>();
70 ((B*)0)->i = 3; // ERROR - protected
79 ((B*)0)->i = 3; // ERROR - protected
85 template struct R<double>;