diff options
Diffstat (limited to 'Test/z3api/boog1.bpl')
-rw-r--r-- | Test/z3api/boog1.bpl | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/Test/z3api/boog1.bpl b/Test/z3api/boog1.bpl index 9f4d2349..7fd54c4c 100644 --- a/Test/z3api/boog1.bpl +++ b/Test/z3api/boog1.bpl @@ -1,18 +1,18 @@ -type ref;
-type Wicket;
-const w: Wicket;
-var favorite: Wicket;
-
-function age(Wicket) returns (int);
-
-axiom age(w)==7;
-
-procedure NewFavorite(p: Wicket);
- modifies favorite
-;
-
- ensures favorite==p;
-
-implementation NewFavorite(l: Wicket) {
- favorite:=l;
+type ref; +type Wicket; +const w: Wicket; +var favorite: Wicket; + +function age(Wicket) returns (int); + +axiom age(w)==7; + +procedure NewFavorite(p: Wicket); + modifies favorite +; + + ensures favorite==p; + +implementation NewFavorite(l: Wicket) { + favorite:=l; }
\ No newline at end of file |