blob: 1cb757b0996ce99ca64dee76eafa9e857a31e953 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
var x: int;
var y: int;
var z: int;
procedure p();
modifies x;
implementation p()
{
A:
assume {:inferred} true;
x := 8;
assume {:inferred} x == 8;
goto B, C;
C:
assume {:inferred} x == 8;
x := 10;
assume {:inferred} x == 10;
goto D;
D:
assume {:inferred} 9 <= x && x < 11;
assume {:inferred} 9 <= x && x < 11;
return;
B:
assume {:inferred} x == 8;
x := 9;
assume {:inferred} x == 9;
goto D;
}
Boogie program verifier finished with 0 verified, 0 errors
|