summaryrefslogtreecommitdiff
path: root/Test/z3api/boog14.bpl
blob: 41450d85e7a5c124c49c5f5af5958c66586275da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
type ref;
function choose(a:bool, b:int, c:int) returns (x:int);
axiom(forall a:bool, b:int, c:int :: {choose(a,b,c)} a ==> choose(a,b,c) == b);


var myInt:int;
procedure  main() 
modifies myInt;
ensures myInt==5;
{
  myInt:=4;
}