summaryrefslogtreecommitdiff
path: root/Test/z3api/boog4.bpl
diff options
context:
space:
mode:
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;