blob: ed40787ea26d87733859592aec7c18ea8f21a641 (
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
|
procedure {:selective_checking} foo()
{
var x, y, z : int;
assert x < y;
assert y < z;
assume {:start_checking_here} true;
assert x < z;
}
procedure {:selective_checking} foo_fail1()
{
var x, y, z : int;
assert x < y;
assume {:start_checking_here} true;
assert x < z;
}
procedure {:selective_checking} foo_fail2()
{
var x, y, z : int;
assert x < y;
if (*) {
assume {:start_checking_here} true;
}
assert x < z;
}
procedure foo_no_selch()
{
var x, y, z : int;
assert x < y;
assume {:start_checking_here} true;
assert x < z;
}
|