Debian Codegraph @

gcc/testsuite/gnat.dg/opt102_pkg.ads

raw
1 package Opt102_Pkg is
2
3 type Enum is (One, Two, Three);
4
5 function Get (E : Enum; F, M : access Integer) return Integer
6 with Pre => (E = One) = (F = null and M = null) and
7 (E = Two) = (F /= null) and
8 (E = Three) = (M /= null);
9
10 end Opt102_Pkg;