| 1 |
-- PR ada/123302 |
| 2 |
-- { dg-do link } |
| 3 |
-- { dg-options "-gnat2022" } |
| 4 |
|
| 5 |
with Aggr34_Pkg3; |
| 6 |
with Aggr34_Pkg1; |
| 7 |
|
| 8 |
procedure Aggr34 is |
| 9 |
|
| 10 |
package My_Pkg3 is new Aggr34_Pkg3; |
| 11 |
package My_Pkg1 is new Aggr34_Pkg1 (My_Pkg3); |
| 12 |
|
| 13 |
begin |
| 14 |
My_Pkg1.Proc; |
| 15 |
end; |