Debian Codegraph @

gcc/testsuite/gnat.dg/pure_function3_pkg.ads

raw
1 package Pure_Function3_Pkg is
2
3 type T is limited private;
4 function F (Self : T) return Integer with Pure_Function;
5 procedure Set (Self : in out T);
6 function F_And_Set (Self : in out T) return Integer with Pure_Function;
7
8 private
9
10 type T is limited record
11 F : Integer;
12 end record;
13
14 end Pure_Function3_Pkg;