summaryrefslogtreecommitdiff
path: root/Test/z3api/boog18.bpl
blob: fe0cbc103b385b15fe3faa6fd05f8bc93d918b06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
const A100INT4_name:int;

function Match(a:int, t:int) returns (int);
function Array(int, int, int) returns (bool);

axiom(forall a:int :: {Match(a, A100INT4_name)} Array(a, 4, 100));

const myNull: int;
var p: int;
procedure main() 
modifies p;
ensures p!=myNull;
{
  p:=myNull;
}