2016-01-15 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gnat.dg / frame_overflow.ads
blob898e37a67d1781f54273db0a4f32662b7a8c59e2
1 with System;
3 package Frame_Overflow is
5 type Bitpos_Range_T is range 1..2**(System.Word_Size-1)-1;
6 type Bitmap_Array_T is array (Bitpos_Range_T) of Boolean;
8 type Bitmap_T is record
9 Bits : Bitmap_Array_T := (others => False);
10 end record;
12 function
13 Set_In (Bitmap : Bitmap_T; Bitpos : Bitpos_Range_T) return Bitmap_T;
15 function Negate (Bitmap : Bitmap_T) return Bitmap_T;
17 end Frame_Overflow;