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

procedure Q() returns () {
  var x : bv32, y : bv16;

  x := y ++ y;
  assert x[16:0] == y;
  assert x == x[16:0] ++ y;
  assert x[17:1] == y;     // should not be verifiable
}