compiler: give error for non-int arguments to make
[official-gcc.git] / gcc / testsuite / gnat.dg / array14_pkg.ads
blob7186c5dc82c2a01881185c65e2a2564c23f924dc
1 with System.Storage_Elements;
3 package Array14_Pkg is
5 package SSE renames System.Storage_Elements;
7 function Parity_Byte_Count return SSE.Storage_Count;
9 Length2 : constant SSE.Storage_Count := Parity_Byte_Count;
11 subtype Encoded_Index_Type2 is SSE.Storage_Count range 1 .. Length2;
12 subtype Encoded_Type2 is SSE.Storage_Array (Encoded_Index_Type2'Range);
14 procedure Encode2 (Input : in Integer; Output : out Encoded_Type2);
16 end Array14_Pkg;