--  The range constraint of a type that completes an incomplete one is its first subtype's
--  (ACATS C38102B): membership tested 0 .. 0, and conversions to it were not checked.
with Ada.Text_IO;
procedure Main is
   type F;
   type G;
   type AF is access constant F;
   type F is digits 2;
   type G is new F range 1.0 .. 1.5;
   XF : constant AF := new F'(2.0);
   Y : constant G := G (XF.all / 2.0);
begin
   Ada.Text_IO.Put_Line (Boolean'Image (Y in G) & G'Image (G'First) & G'Image (G'Last));
end Main;
