gcc/testsuite/gnat.dg/generic_inst16_pkg-child-grandchild.ads
raw| 1 | generic |
| 2 | package Generic_Inst16_Pkg.Child.Grandchild is |
| 3 | |
| 4 | type CT is new GPT with private; |
| 5 | |
| 6 | Zippo_CT1 : constant CT; |
| 7 | Zippo_CT2 : constant CT; |
| 8 | |
| 9 | private |
| 10 | |
| 11 | type CT is new PT with |
| 12 | record |
| 13 | Small_Pi : Natural := 314; |
| 14 | end record; |
| 15 | |
| 16 | Zippo_CT1 : constant CT := (Zippo_PT with Small_Pi => 0); |
| 17 | Zippo_CT2 : constant CT := |
| 18 | (Generic_Inst16_Pkg.Child.Zippo_PT with Small_Pi => 0); |
| 19 | |
| 20 | end Generic_Inst16_Pkg.Child.Grandchild; |