2 -- { dg-options "-gnatp" }
4 procedure Empty_Vector_Length
is
6 type Vector
is array (Integer range <>) of Integer;
8 function Empty_Vector
return Vector
is
10 return (2 .. Integer'First => 0);
13 My_Vector
: Vector
:= Empty_Vector
;
14 My_Length
: Integer := My_Vector
'Length;
16 if My_Length
/= 0 then