| 1 |
package Interface8 is |
| 2 |
type Iface is interface; |
| 3 |
|
| 4 |
type Root is abstract tagged null record; |
| 5 |
|
| 6 |
type Child is new Root and Iface with record |
| 7 |
Interface_1 : access Iface'Class; |
| 8 |
end record; |
| 9 |
|
| 10 |
function Get_Iface (This : Child) return not null access Iface'Class; |
| 11 |
end; |