Debian Codegraph @

gcc/testsuite/gnat.dg/ghost5_parent.ads

raw
1 package Ghost5_Parent is
2
3 type Priv is private;
4
5 package Nested with Ghost is
6 function Func1 (X : Priv) return Boolean is (True); -- Error flagged here
7 function Func2 (X : Priv) return Boolean is (False);
8 end Nested;
9
10 private
11
12 type Priv is new Integer;
13
14 end Ghost5_Parent;