summaryrefslogtreecommitdiff
path: root/Test/houdini/houd11.bpl
blob: dc90f9000ff11fca5db0c74aeaa389d996f61aab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: %boogie -noinfer -contractInfer -printAssignment "%s" > "%t"
// RUN: %diff "%s.expect" "%t"

var fooVar: int;

procedure foo() 
modifies fooVar;
{
  fooVar:=5; 
  assert(fooVar==4);
  assert(fooVar==3);
}

// expected outcome: Errors
// expected assigment: []