summaryrefslogtreecommitdiff
path: root/Test/bitvectors/bv5.bpl
diff options
context:
space:
mode:
Diffstat (limited to 'Test/bitvectors/bv5.bpl')
-rw-r--r--Test/bitvectors/bv5.bpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/Test/bitvectors/bv5.bpl b/Test/bitvectors/bv5.bpl
new file mode 100644
index 00000000..f9240e1c
--- /dev/null
+++ b/Test/bitvectors/bv5.bpl
@@ -0,0 +1,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
+}