blob: dbde4f37cf8afa944a5f1e12e673db1d9702da2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// RUN: %boogie -noinfer -contractInfer -printAssignment -abstractHoudini:IA[ConstantProp] %s > %t
// RUN: %diff %s.expect %t
function {:existential true} Assert() : bool;
var fooVar: int;
procedure foo()
modifies fooVar;
{
fooVar:=5;
assert Assert() || (fooVar==4);
assert Assert() || (fooVar==3);
}
// expected assigment: Assert -> true
|