Debian Codegraph @

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

raw
1 -- { dg-do compile }
2 -- { dg-options "-gnatX0" }
3
4 generic
5 package Mutably_Tagged2 is
6 generic
7 package Config is
8 type Mutably_Tagged is tagged null record with Size'Class => 128;
9 end Config;
10
11 package My_Config is new Config;
12
13 generic
14 type T is private;
15 package G is
16 end G;
17
18 package My_G is new G (My_Config.Mutably_Tagged'Class);
19 end Mutably_Tagged2;