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