gcc/testsuite/gnat.dg/inline20_h.ads
raw| 1 | with Inline20_G; |
| 2 | |
| 3 | generic |
| 4 | with package Msg is new Inline20_G (<>); |
| 5 | package Inline20_H is |
| 6 | |
| 7 | generic |
| 8 | type T is private; |
| 9 | with function Image (Data : T) return String; |
| 10 | package Nested_H is |
| 11 | package My_Nested_G is new Msg.Nested_G (T); |
| 12 | function F return Integer renames My_Nested_G.F; |
| 13 | end Nested_H; |
| 14 | |
| 15 | end Inline20_H; |