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
PR testsuite/86649
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
renaming10.adb
blob
07d4312b060e71d7f52e889683ec2b05fc4f7e9b
1
-- { dg-do compile }
2
3
package body
Renaming10
is
4
5
function
F
(
Input
:
Rec
)
return
Natural
is
6
Position
:
Natural
renames
Input
.
Position
;
7
Index
:
Natural
renames
Natural
'Succ
(
Position
);
8
begin
9
return
Index
;
10
end
;
11
12
end
Renaming10
;