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
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
opt74_pkg.adb
blob
4d5ce4fa822b62fee4f0c1742b7f80c95ee93ddb
1
package body
Opt74_Pkg
is
2
3
procedure
Proc
(
Found
:
out
Integer
;
Index
:
out
Integer
)
is
4
begin
5
Index
:=
1
;
6
Found
:=
0
;
7
while
(
Index
<=
A
'Last
)
and
(
Found
=
0
)
loop
8
if
A
(
Index
) =
2
then
9
Found
:=
1
;
10
else
11
Index
:=
Index
+
1
;
12
end if
;
13
end loop
;
14
end
;
15
16
end
Opt74_Pkg
;