--  A record declared in a package nested in a subprogram: its components stay visible
--  where the package is used, in Varc's translation too (its fields public, as a library
--  package's are).
with Ada.Text_IO;
procedure Main is
   package Shapes is
      type Point is record
         X : Integer := 0;
      end record;
   end Shapes;
   use Shapes;
   P : Point;
begin
   P.X := 1;
   Ada.Text_IO.Put_Line (Integer'Image (P.X));
end Main;
