Debian Codegraph @

gcc/testsuite/gnat.dg/slice6_pkg.ads

raw
1 package Slice6_Pkg is
2
3 subtype LENGTH_RANGE is SHORT_INTEGER range 0 .. 8184;
4
5 type T_BLOCK is array (SHORT_INTEGER range <>) of SHORT_SHORT_INTEGER;
6 for T_BLOCK'alignment use 4;
7
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;
14
15 end Slice6_Pkg;