summaryrefslogtreecommitdiff
path: root/Test/z3api/boog5.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/boog5.bpl
parent4eca552a65a0bfc9a81cae24906a3ecb8ae7768a (diff)
partial fixes to these regressions
Diffstat (limited to 'Test/z3api/boog5.bpl')
-rw-r--r--Test/z3api/boog5.bpl7
1 files changed, 5 insertions, 2 deletions
diff --git a/Test/z3api/boog5.bpl b/Test/z3api/boog5.bpl
index 0db94bba..4b76fd22 100644
--- a/Test/z3api/boog5.bpl
+++ b/Test/z3api/boog5.bpl
@@ -1,3 +1,4 @@
+type ref;
// types
type Wicket;
@@ -23,7 +24,8 @@ axiom age(x)==4;
// procedure
procedure SetToSeven(p: Wicket);
- modifies favorite ;
+ modifies favorite
+;
ensures favorite==p;
@@ -32,7 +34,8 @@ implementation SetToSeven(l: Wicket) {
favorite:=l;
} else {
favorite:=v;
- }
+ }
+
}