Debian Codegraph @

gcc/testsuite/gnat.dg/specs/discr1_pkg.ads

raw
1 package Discr1_Pkg is
2
3 Maximum_Length : Natural := 80 ;
4
5 subtype String_Length is Natural range 0 .. Maximum_Length;
6
7 type Variable_String (Length : String_Length := 0) is
8 record
9 S : String (1 .. Length);
10 end record;
11
12 type Variable_String_Array is array (Natural range <>) of Variable_String;
13
14 end Discr1_Pkg;