runtime: copy more of scheduler from Go 1.7 runtime
[official-gcc.git] / gcc / testsuite / gnat.dg / fixedpnt.adb
blob2e9988c33bbec4ea45c4eb6878410279326533a9
1 -- { dg-do run }
3 procedure Fixedpnt is
4 A : Duration := 1.0;
5 B : Duration := Duration ((-1.0) * A);
6 begin
7 if B > 0.0 then
8 raise Constraint_Error;
9 end if;
10 end;