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: allow preemption in fast syscall return
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
class_wide3_pkg.ads
blob
a4104fcdebe94549ca61f4e8058d29874336cb96
1
package
Class_Wide3_Pkg
is
2
3
type
Iface
is
interface
;
4
type
Iface_Ptr
is access all
Iface
'Class
;
5
6
procedure
Put_Line
(
I
:
Iface
'Class
);
7
8
type
Root
is tagged record
9
I
:
Integer
;
10
end record
;
11
12
type
Disc_Child
(
N
:
Integer
)
is new
Root
and
Iface
with record
13
J
:
Integer
;
14
end record
;
15
16
end
Class_Wide3_Pkg
;