diff options
author | mikebarnett <unknown> | 2009-07-15 21:03:41 +0000 |
---|---|---|
committer | mikebarnett <unknown> | 2009-07-15 21:03:41 +0000 |
commit | ce1c2de044c91624370411e23acab13b0381949b (patch) | |
tree | 592539996fe08050ead5ee210c973801611dde40 /Test/bitvectors/bv5.bpl |
Initial set of files.
Diffstat (limited to 'Test/bitvectors/bv5.bpl')
-rw-r--r-- | Test/bitvectors/bv5.bpl | 11 |
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
+}
|