Debian Codegraph @

gcc/testsuite/gnat.dg/ghost2.ads

raw
1 package Ghost2 is
2 type Val_Entry is (A, B, C, D);
3
4 function Transition_Valid (L : Val_Entry; R : Val_Entry) return Boolean
5 is ((L = B and R = C) or
6 (L = C and R = C) or
7 (L = C and R = D) or
8 (L = D and R = B))
9 with Ghost;
10
11 procedure Set;
12
13 type Val_Array is array (1 .. 5) of Val_Entry;
14 end Ghost2;