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
/
discr42_pkg.adb
blob
8ec584c8ca303b60cc6e89a09a8ced071daf66a8
1
package body
Discr42_Pkg
is
2
3
function
F
(
Pos
:
in out
Natural
)
return
Rec
is
4
begin
5
Pos
:=
Pos
+
1
;
6
if
Pos
>
1
then
7
return
(
D
=>
True
,
N
=>
Pos
*
2
);
8
else
9
return
(
D
=>
False
);
10
end if
;
11
end
;
12
13
end
Discr42_Pkg
;