repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
i386: Fix cstorebf4 fp comparison operand [PR117495]
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
enum1.adb
blob
f751d24a782600037243e46d1e8c05ab23a29494
1
-- { dg-do run }
2
-- { dg-options "-O2" }
3
4
with
Enum1_Pkg
;
use
Enum1_Pkg
;
5
6
procedure
Enum1
is
7
8
function
Cond
return
Boolean
is
9
begin
10
return
My_N
=
Two
or
My_N
=
Three
;
11
end
;
12
13
begin
14
if
Cond
then
15
raise
Constraint_Error
;
16
end if
;
17
end
;