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
runtime: copy more of scheduler from Go 1.7 runtime
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
access1.adb
blob
c6100051ae1a0967fba52375e5f74aeebb0ffe8d
1
-- { dg-do compile }
2
3
procedure
access1
is
4
protected
Objet
is
5
procedure
p
;
6
end
Objet
;
7
protected body
Objet
is
8
procedure
p
is
9
begin
10
null
;
11
end
p
;
12
end
Objet
;
13
type
wrapper
is record
14
Ptr
:
access protected procedure
:=
Objet
.
p
'access
;
15
end record
;
16
It
:
wrapper
;
17
PP
:
access protected procedure
;
18
begin
19
PP
:=
Objet
.
p
'access
;
20
PP
.
all
;
21
It
.
Ptr
.
all
;
22
end
;