aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/lto22_pkg2.ads
blob: f3a20f8c2fa4342e79fefe1d67a0c99eac16a7db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package Lto22_Pkg2 is  

   subtype Index_Type is Integer range 1 .. 20;

   type Rec (<>) is private;           

   function F return Rec;

private

   type Rec (D : Index_Type := 2) is record     
      S : String (1 .. D) := "Hi";
   end record;

end Lto22_Pkg2;