summaryrefslogtreecommitdiff
path: root/Test/z3api/boog4.bpl
diff options
context:
space:
mode:
authorGravatar qadeer <qadeer@microsoft.com>2011-06-22 11:09:37 -0700
committerGravatar qadeer <qadeer@microsoft.com>2011-06-22 11:09:37 -0700
commit76a041a475db3a9d7cf2cac8598ecc5ffcc70ca0 (patch)
tree57b55325f5c1c6e7c20317211870b2f38b5e2c4a /Test/z3api/boog4.bpl
parent4eca552a65a0bfc9a81cae24906a3ecb8ae7768a (diff)
partial fixes to these regressions
Diffstat (limited to 'Test/z3api/boog4.bpl')
-rw-r--r--Test/z3api/boog4.bpl7
1 files changed, 5 insertions, 2 deletions
diff --git a/Test/z3api/boog4.bpl b/Test/z3api/boog4.bpl
index 46eda549..95ec7011 100644
--- a/Test/z3api/boog4.bpl
+++ b/Test/z3api/boog4.bpl
@@ -1,3 +1,4 @@
+type ref;
type Wicket;
const w: Wicket;
@@ -10,7 +11,8 @@ function age(Wicket) returns (int);
axiom age(w)==7;
axiom 7 < 8;
-axiom 7 <= 8;
+axiom 7 <= 8;
+
axiom 8 > 7;
axiom 8 >= 7;
axiom 6 != 7;
@@ -28,7 +30,8 @@ axiom 7!=7;
procedure NewFavorite(p: Wicket);
- modifies favorite ;
+ modifies favorite
+;
ensures favorite==p;