gcc/
[official-gcc.git] / gcc / testsuite / gnat.dg / specs / lto3_pkg1.adb
blob34caa3c6c2879364aaf9d98a29ed4a38b750978f
1 package body Lto3_Pkg1 is
3 function Is_Fixed return Boolean is
4 begin
5 return True;
6 end Is_Fixed;
8 function Do_Item (I : Natural) return Variable_Data_Fixed_T is
9 It : Variable_Data_Fixed_T;
10 begin
11 return It;
12 end Do_Item;
14 My_Db : Db.T;
16 procedure Run is
17 Kitem : Variable_Data_Fixed_T;
18 I : Natural;
19 begin
20 Kitem := Db.Get (My_Db);
21 Kitem := Do_Item (I);
22 end Run;
24 end Lto3_Pkg1;