2015-07-03 Christophe Lyon <christophe.lyon@linaro.org>
[official-gcc.git] / gcc / testsuite / gnat.dg / pointer_variable_bounds.ads
blob39d502ab3cab594752a4ce5e91d778c5a79f3bbf
1 with pointer_variable_bounds_q; use pointer_variable_bounds_q;
3 package pointer_variable_bounds is
5 type HALF_INTEGER is range -32768 .. 32767;
6 subtype HALF_NATURAL is HALF_INTEGER range 0 .. 32767;
8 MAX_COMPS : constant HALF_NATURAL := HALF_NATURAL(A_MAX_COMPS);
9 subtype COMP_POINTER_TYPE is HALF_NATURAL range 0 .. MAX_COMPS;
10 subtype BUNDLE_POINTER_TYPE is HALF_NATURAL range 0 .. 1;
11 subtype C_POINTER_TYPE is HALF_NATURAL range 0 .. 1;
13 procedure BUNDLE_DAT(BP : in BUNDLE_POINTER_TYPE);
14 procedure SEQUENCE_DAT(BP : in BUNDLE_POINTER_TYPE);
16 end pointer_variable_bounds;