summaryrefslogtreecommitdiff
path: root/Test/bitvectors/bv5.bpl
blob: f9240e1c144800ddc19f7f776a6fde35d5ea117c (plain)
1
2
3
4
5
6
7
8
9
10
11

procedure P() returns () {
  var m : <a>[a]int;

  m[23bv5] := 17;
  m[21bv5] := 19;
  m[21bv6] := -3;

  assert m[23bv5] == 17;
  assert m[21bv6] == 3; // should not be provable
}