summaryrefslogtreecommitdiff
path: root/Test/test0/SeparateVerification0.bpl
blob: 5a8ef283abca1a3c760302b9bcecffc06123790d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// need to include this file twice for it to include all necessary declarations

#if FILE_0
const x: int;
#else
const y: int;
#endif

#if FILE_1
axiom x == 12;
procedure Q();
#else
axiom y == 7;
#endif

// duplicates of :extern's are fine (Boogie keeps the non-:extern or chooses arbitrarily among the :extern's)
type {:extern} T;
const {:extern} C: int;
function {:extern} F(): int;
var {:extern} n: int;
procedure {:extern} P(inconsistentParameterButThatIsOkayBecauseTheExternIsIgnored: int);