aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gnat.dg/debug2_pkg.ads
blob: fc68249b8217ef310851f9f989a637d5a9d1896b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package Debug2_Pkg is

    type String_Ptr is access all String;

    function To_Heap return String_Ptr;

    type String_List(Chars_Length: Positive) is private;

    type String_List_Ptr is access constant String_List;

    function Singleton return String_List;

private

    type String_List(Chars_Length: Positive) is record
        Chars: String(1..Chars_Length);
    end record;

end Debug2_Pkg;