1 -- { dg-excess-errors "no code generated" }
5 function Get_Value
(S
: String) return Integer;
7 Max_Limit
: constant array(1..2) of Integer :=
8 (1 => Get_Value
("One"), 2 => Get_Value
("Two"));
10 type Index_Type
is new Natural range 0 .. Max_Limit
(1);
12 type Array_Type
is array (Index_Type
range <>) of Natural;
14 type Rec1
(D
: Index_Type
) is record
15 A
: Array_Type
(1 .. D
);