summaryrefslogtreecommitdiff
path: root/Test/test21/InterestingExamples2.bpl
blob: 62374cb6df21b4589d4458582c0afebb04cdf5e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14


procedure P() returns () {
var m : <a>[a]ref;
var n : <b>[b]b;
var o : ref;

m[5] := null;
assert m[true := o][5] == null;
assert m[n[true] := o][5] == null;
}

type ref;
const null : ref;