summaryrefslogtreecommitdiff
path: root/Test/bitvectors/bv5.bpl
blob: 048bc315e01cf539ddfb63f758af3e2c3de3ef1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: %boogie  "%s" > "%t"
// RUN: %diff "%s.expect" "%t"

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
}