PR target/84336
[official-gcc.git] / gcc / testsuite / gnat.dg / incomplete6.ads
blob52beb6e5f5be4c2eefdc59a28f7d606fd917388a
1 with Ada.Unchecked_Conversion;
3 package Incomplete6 is
5 type Vint;
6 function "=" (Left, Right : Vint) return Boolean;
8 type Vint is record
9 Value : Integer;
10 end record;
12 function To_Integer is new
13 Ada.Unchecked_Conversion(Source => Vint, Target => Integer);
15 type Vfloat;
16 function "=" (Left, Right : in Vfloat) return Boolean;
18 type Vfloat is record
19 Value : Float;
20 end record;
22 end;