compiler: give error for non-int arguments to make
[official-gcc.git] / gcc / testsuite / gnat.dg / array23_pkg1.ads
blobd0bc136f96d4fb9791f47d179d69f046ffc06e3e
1 with Array23_Pkg2;
3 package Array23_Pkg1 is
5 C2 : Natural := Array23_Pkg2.C1;
7 subtype Index is Natural range 0 .. C2;
9 type Inner is array (Index) of Natural;
11 type Arr is array (Array23_Pkg2.Index) of Inner;
13 end Array23_Pkg1;