blob: 7294d0f94f8b9e81a29c4b59d264511f279fe1bf (
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
|
procedure Test()
{
var i: int;
entry:
i := 0;
goto block850;
block850:
assert i == 0;
havoc i;
goto block850;
}
// The following procedure once exhibited a bug in Boogie's DAG manipulations
procedure TightLoop0()
{
L:
assert !true; // error
goto L;
}
procedure TightLoop1()
{
L:
assert false; // error
goto L;
}
procedure TightLoop2()
{
L:
assert true; // cool
goto L;
}
procedure TightLoop3(b: bool)
{
L:
assert b; // error
goto L;
}
|