summaryrefslogtreecommitdiff
path: root/Test/bitvectors/bv5.bpl
blob: 73dff1ad3bf5a2b790bf2948ac72c04c08c87053 (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
}