--  A child unit names Ada.Text_IO, which only its parent's spec withs: the scope of that with
--  clause includes the children (RM 10.1.2(5)).
package body P.C is
   procedure Greet is
   begin
      Ada.Text_IO.Put_Line ("greetings");
   end Greet;
end P.C;
