gcc/cp
[official-gcc.git] / gcc / testsuite / gnat.dg / slice6_pkg.ads
blobef2047311a9cbf9a3cf6098ec6311f0778d05e86
1 package Slice6_Pkg is
3 subtype LENGTH_RANGE is SHORT_INTEGER range 0 .. 8184;
5 type T_BLOCK is array (SHORT_INTEGER range <>) of SHORT_SHORT_INTEGER;
6 for T_BLOCK'alignment use 4;
8 type T_MSG (V_LENGTH : LENGTH_RANGE := 0) is
9 record
10 HEADER : Integer;
11 DATAS : T_BLOCK (1 .. V_LENGTH) := (others => 0);
12 end record;
13 for T_MSG'alignment use 4;
15 end Slice6_Pkg;