blob: f3a20f8c2fa4342e79fefe1d67a0c99eac16a7db [file] [log] [blame]
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;