package State is
   Total : Integer := 0;
   procedure Swap (A, B : in out Integer)
     with Global => null;
   procedure Add_To_Total (Amount : in out Integer)
     with Global => (In_Out => Total);
end State;
