repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
gnat.dg
/
fixedpnt.adb
blob
2e9988c33bbec4ea45c4eb6878410279326533a9
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
;