--  An iterated association over a static range, with others, within run-time bounds (D110)
with Ada.Text_IO; use Ada.Text_IO;
procedure Main is
   type Vec is array (Positive range <>) of Integer;
   procedure Show (V : Vec) is
   begin
      for X of V loop
         Put (Integer'Image (X));
      end loop;
      New_Line;
   end Show;
   procedure Test (N : Positive) with Pre => N in 3 .. 100 is
      A : constant Vec (1 .. N) := (for I in 1 .. 3 => I * 10, others => 0);
   begin
      Show (A);
   end Test;
begin
   Test (5);
end Main;
