--  Which unit is the main, and where a library subprogram with no specification is found,
--  whatever the order of the units' names (CA1005A, CA13002, C23006C, CHECK_FILE in the CE
--  tests): the main is the library subprogram no other unit names (not P.Child, which Main
--  names and whose name sorts after Main's), and Zhelper and Check, each its body alone in
--  its own file, are found by Main, whose name sorts before theirs.
with Ada.Text_IO;
with P.Child;
with Zhelper;
with Check;
procedure Main is
   V : Integer := 1;
begin
   Ada.Text_IO.Put_Line ("Main");
   P.Child;
   Zhelper (V);
   Check (V);
end Main;
