view gcc/testsuite/gnat.dg/tag2_pkg.ads @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 1830386684a0
children
line wrap: on
line source

package Tag2_Pkg is
   type Monitor_Interface is interface;

   type Root is abstract tagged null record;

   type Monitor_Type is abstract new Root
      and Monitor_Interface with null record;

   type Synchronous_Monitor (Size : Positive) is new Monitor_Type with
   record
      Queue : String (1 .. Size);
   end record;

   type Virtual_Integer_Register_Refresher (Size : Positive) is
          new Synchronous_Monitor (Size) with null record;
end;