summaryrefslogtreecommitdiff
path: root/Test/z3api/boog15.bpl
blob: 428c0f6e1c3654e65642c182493d1d0ab4a58a65 (plain)
1
2
3
4
5
6
7
8
9
10
11
type ref;
function AtLeast(int, int) returns ([int]bool);
axiom(forall n:int, x:int :: {AtLeast(n,x)} AtLeast(n,x)[x]);

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