Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gnat.dg
/
loop_boolean.adb
blob: f2836c393431fae46532f1781931e6abc8c129a2 [
file
] [
log
] [
blame
]
--
{
dg
-
do
run
}
--
{
dg
-
options
"-gnatVaM"
}
procedure
Loop_Boolean
is
type R
is
record
B
:
Boolean
;
end
record
;
procedure proc
(
X
:
R
)
is
B
:
Boolean
;
begin
B
:=
X
.
B
;
end
;
begin
for
I
in
reverse
Boolean
loop
Proc
((
B
=>
I
));
end
loop
;
end
;