| 1 |
with Array5_Pkg2; use Array5_Pkg2; |
| 2 |
with Array5_Pkg2.G; |
| 3 |
|
| 4 |
package Array5_Pkg1 is |
| 5 |
|
| 6 |
type Derived is new Root with record |
| 7 |
N : Integer; |
| 8 |
end record; |
| 9 |
|
| 10 |
package My_G is new Array5_Pkg2.G (Derived); |
| 11 |
|
| 12 |
type Arr is array (1 .. My_G.Data.N) of Integer; |
| 13 |
|
| 14 |
end Array5_Pkg1; |