☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gnat.dg
/
fixedpnt.adb
☽
☼
gcc/testsuite/gnat.dg/fixedpnt.adb
code
plain
raw
1
-- { dg-do run }
2
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;