PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gnat.dg / class_wide3_pkg.ads
bloba4104fcdebe94549ca61f4e8058d29874336cb96
1 package Class_Wide3_Pkg is
3 type Iface is interface;
4 type Iface_Ptr is access all Iface'Class;
6 procedure Put_Line (I : Iface'Class);
8 type Root is tagged record
9 I : Integer;
10 end record;
12 type Disc_Child (N : Integer) is new Root and Iface with record
13 J : Integer;
14 end record;
16 end Class_Wide3_Pkg;