summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/access4.adb
blob: 2b0062741353953261c2e2ad920e373c1b39e261 (plain)
1
2
3
4
5
6
7
8
9
--  { dg-do run }

with access3; use access3;
procedure access4 is
   Obj_IT : aliased T;
   Obj_T2 : T2;
begin
   Obj_T2.Op (Obj_IT'Access);
end;