Retro68/gcc/gcc/testsuite/gnat.dg/access_discr2.adb
Wolfgang Thaller aaf905ce07 add gcc 4.70
2012-03-28 01:13:14 +02:00

11 lines
197 B
Ada

-- { dg-do run }
procedure access_discr2 is
type X (I : not null access Integer) is tagged null record;
I : aliased Integer := 8;
Y : X (I'Access);
begin
null;
end access_discr2;