1 procedure Rep_Clause8
is
3 type Root
is tagged record
10 type Formal_Root
is new Root
with private;
11 package Gen_Derived
is
12 type Deriv
is new Formal_Root
with null record -- { dg-error "representation item not allowed for generic type" }
16 package Inst_Derived
is new Gen_Derived
(Root
);