diff options
author | Valentin Wüstholz <wuestholz@gmail.com> | 2015-07-20 07:12:43 +0200 |
---|---|---|
committer | Valentin Wüstholz <wuestholz@gmail.com> | 2015-07-20 07:12:43 +0200 |
commit | a030a9cd291e5d17d09a8d1921ae5a9c9c01c2dd (patch) | |
tree | ab71f29506b2d1138a098492377f77b82e1c9d75 /Test/snapshots/Snapshots38.v0.bpl | |
parent | 97628c5279f6b82173833573f0906ee5d2ece99f (diff) |
Added more tests.
Diffstat (limited to 'Test/snapshots/Snapshots38.v0.bpl')
-rw-r--r-- | Test/snapshots/Snapshots38.v0.bpl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Test/snapshots/Snapshots38.v0.bpl b/Test/snapshots/Snapshots38.v0.bpl new file mode 100644 index 00000000..496a75a9 --- /dev/null +++ b/Test/snapshots/Snapshots38.v0.bpl @@ -0,0 +1,13 @@ +procedure {:checksum "-1"} Callee(); + +implementation {:id "Callee"} {:checksum "0"} Callee() +{ + var r: int; + + call r := Sum(42); + assert r != 0; +} + +procedure {:checksum "1"} Sum(n: int) returns (r: int); + requires 0 <= n; + ensures n != 0 ==> 1 <= r; |