summaryrefslogtreecommitdiff
path: root/Test/bitvectors/bv0.bpl
diff options
context:
space:
mode:
authorGravatar mikebarnett <unknown>2009-07-15 21:03:41 +0000
committerGravatar mikebarnett <unknown>2009-07-15 21:03:41 +0000
commitce1c2de044c91624370411e23acab13b0381949b (patch)
tree592539996fe08050ead5ee210c973801611dde40 /Test/bitvectors/bv0.bpl
Initial set of files.
Diffstat (limited to 'Test/bitvectors/bv0.bpl')
-rw-r--r--Test/bitvectors/bv0.bpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/Test/bitvectors/bv0.bpl b/Test/bitvectors/bv0.bpl
new file mode 100644
index 00000000..43bf734a
--- /dev/null
+++ b/Test/bitvectors/bv0.bpl
@@ -0,0 +1,13 @@
+procedure foo2(x : bv32) returns(r : bv32)
+{
+ block1:
+ r := 17bv31; // Error
+ r := 17; // Error
+ r := x[1:0]; // Error
+ r := x[0:1]; // Error
+ r := x[55:54]; // Error
+ r := x[33:32]; // Error
+ r := 17bv10 ++ 17bv42 ++ 13bv22; // Error
+ return;
+}
+