package Shared
  with Abstract_State => (Hidden with Synchronous), Initializes => Hidden
is
   Ticks : Integer := 0 with Atomic, Async_Readers, Async_Writers;
   task Writer;
   task Reader;
   function Last_Seen return Natural with Global => Hidden, Volatile_Function;
private
   protected Box with Part_Of => Hidden is
      procedure Set (V : Natural);
      function Get return Natural;
   private
      Val : Natural := 0;
   end Box;
end Shared;
