--  Inside a generic unit, its name denotes the current instance (RM 8.6(18)), and an expanded
--  name with it as prefix names a formal as the instance binds it (RM 4.1.3, 12.3).
generic
   Size : Positive;
   type Item is private;
   with function Image (X : Item) return String;
package Gen is
   subtype Index is Positive range 1 .. Gen.Size;
   type Store is array (Index) of Gen.Item;
   function Capacity return Positive is (Gen.Size);
   procedure Show (S : Store);
end Gen;
