summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gnat.dg/access3.ads
blob: 18d453b329e2f72e2800746788efc63ac59ec632 (plain)
1
2
3
4
5
6
7
8
9
10
11

package access3 is
   type IT is limited interface;
   type T is limited new IT with null record;
   
   type T2 is tagged limited null record;
   
   procedure Op
     (Obj_T2 : in out T2;
      Obj_IT : not null access IT'Class);
end access3;
OpenPOWER on IntegriCloud