runtime: allow preemption in fast syscall return
[official-gcc.git] / gcc / testsuite / gnat.dg / biased_subtype.adb
blob38330229632eee57dbfe173804d5aba01eda994e
1 -- { dg-do run }
2 -- { dg-options "-gnatws" }
4 procedure Biased_Subtype is
6 CIM_Max_AA : constant := 9_999_999;
7 CIM_Min_AA : constant := -999_999;
9 type TIM_AA is range CIM_Min_AA..CIM_Max_AA + 1;
10 for TIM_AA'Size use 24;
12 subtype STIM_AA is TIM_AA range TIM_AA(CIM_Min_AA)..TIM_AA(CIM_Max_AA);
14 SAA : STIM_AA := 1;
16 begin
17 if Integer(SAA) /= 1 then
18 raise Program_Error;
19 end if;
20 end;