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
/
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
;