2016-01-15 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gnat.dg / incomplete3.ads
blob6f89374971cd1027239968fc8eced9af6d0d96ae
1 package Incomplete3 is
3 type Output_T;
4 type Output_T is abstract tagged private;
6 type Tracer_T is tagged private;
8 function Get_Tracer (This : access Output_T'Class) return Tracer_T'class;
10 function Get_Output (This : in Tracer_T) return access Output_T'Class;
12 private
14 type Output_T is abstract tagged record
15 B : Boolean := True;
16 end record;
18 type Tracer_T is tagged record
19 Output : access Output_T'Class := null;
20 end record;
22 end Incomplete3;