Debian Codegraph @

gcc/testsuite/gnat.dg/predicate2-project-typ.ads

raw
1 ----
2 with Predicate2.Project.Name_Values;
3
4 private with Predicate2.Project.Registry.Attribute;
5
6 package Predicate2.Project.Typ is
7
8 type Object is new Name_Values.Object with private;
9
10 Undefined : constant Object;
11
12 private
13
14 use all type Predicate2.Project.Registry.Attribute.Value_Kind;
15
16 -- ???? BUG HERE: removing the Dynamic_Predicate below will allow
17 -- compilation of the unit.
18
19 type Object is new Name_Values.Object with null record
20 with Dynamic_Predicate => Object.Kind = List;
21
22 Undefined : constant Object := (Name_Values.Undefined with null record);
23
24 end Predicate2.Project.Typ;