diff options
Diffstat (limited to 'Test/snapshots/Snapshots16.v1.bpl')
-rw-r--r-- | Test/snapshots/Snapshots16.v1.bpl | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/Test/snapshots/Snapshots16.v1.bpl b/Test/snapshots/Snapshots16.v1.bpl index 4d7cc354..ab6a8ace 100644 --- a/Test/snapshots/Snapshots16.v1.bpl +++ b/Test/snapshots/Snapshots16.v1.bpl @@ -1,15 +1,15 @@ -function {:checksum "4"} PlusOne(n: int) : int
-{
- n + 2
-}
-
-function {:checksum "0"} F(n: int) : int;
-
-axiom (forall n: int :: { F(n) } F(n) == PlusOne(n));
-
-procedure {:checksum "2"} M();
-
-implementation {:id "M"} {:checksum "3"} M()
-{
- assert F(0) == 1; // error
-}
+function {:checksum "4"} PlusOne(n: int) : int +{ + n + 2 +} + +function {:checksum "0"} F(n: int) : int; + +axiom (forall n: int :: { F(n) } F(n) == PlusOne(n)); + +procedure {:checksum "2"} M(); + +implementation {:id "M"} {:checksum "3"} M() +{ + assert F(0) == 1; // error +} |