Debian Codegraph @

gcc/testsuite/gnat.dg/specs/double_record_extension1.ads

raw
1 -- { dg-do compile }
2
3 package double_record_extension1 is
4
5 type T1(n: natural) is tagged record
6 s1: string (1..n);
7 end record;
8 type T2(j,k: natural) is new T1(j) with record
9 s2: string (1..k);
10 end record;
11 type T3 is new T2 (10, 10) with null record;
12
13 end double_record_extension1;