gcc/testsuite/gnat.dg/inline18_pkg1.ads
raw| 1 | with Inline18_Pkg2.Child; |
| 2 | with Inline18_Gen2; |
| 3 | with Inline18_Gen3; |
| 4 | |
| 5 | package Inline18_Pkg1 is |
| 6 | |
| 7 | package My_G2 is new Inline18_Gen2 (Inline18_Pkg2.Child.General.T); |
| 8 | |
| 9 | package My_G3 is new Inline18_Gen3 (Integer); |
| 10 | |
| 11 | type Rec is record |
| 12 | Comp : My_G2.T; |
| 13 | end record; |
| 14 | |
| 15 | procedure Proc (R : in out Rec); |
| 16 | |
| 17 | package My_G is new My_G3.Inner_G; |
| 18 | |
| 19 | end Inline18_Pkg1; |