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
/
access9.adb
blob
d2028c97930420fda4adfe36d03191aa0139973e
1
-- { dg-do run }
2
3
procedure
Access9
is
4
5
type
A_Type
is access procedure
;
6
7
type
B_Type
is new
A_Type
;
8
9
procedure
Invoke
(
B
:
B_Type
)
is
10
begin
11
B
.
all
;
12
end
;
13
14
procedure
Nested
is begin null
;
end
;
15
16
A
:
A_Type
:=
Nested
'Access
;
17
18
begin
19
Invoke
(
B_Type
(
A
));
20
end
;