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
x86: Tune Skylake, Cannonlake and Icelake as Haswell
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
inline10_pkg.adb
blob
cf5d8611207bd53c9cb6bd618d6e999952c9b94b
1
package body
Inline10_Pkg
is
2
3
procedure
Test
(
I
:
Integer
)
is
4
5
function
F
(
J
:
Integer
)
return
Integer
is
6
begin
7
return
I
-
J
;
8
end
;
9
pragma
Inline
(
F
);
10
11
type
FPT
is access function
(
I
:
Integer
)
return
Integer
;
12
13
P
:
FPT
:=
F
'Access
;
14
15
begin
16
if
I
/=
P
(
I
)
then
17
raise
Program_Error
;
18
end if
;
19
end
;
20
21
end
Inline10_Pkg
;