Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gnat.dg
/
discr46.adb
blob: 84ac91d413df587e496ee1566129d1cebc77dffd [
file
] [
log
] [
blame
]
--
{
dg
-
do
compile
}
package
body
Discr46
is
function
F
(
Id
:
Enum
)
return
Integer
is
Node
:
Integer
:=
0
;
begin
if
A
(
Id
).
R
.
D
=
True
then
Node
:=
A
(
Id
).
R
.
T
;
end
if
;
return
Node
;
end
;
end
Discr46
;