summaryrefslogtreecommitdiff
path: root/Test/snapshots/Snapshots38.v2.bpl
diff options
context:
space:
mode:
Diffstat (limited to 'Test/snapshots/Snapshots38.v2.bpl')
-rw-r--r--Test/snapshots/Snapshots38.v2.bpl14
1 files changed, 14 insertions, 0 deletions
diff --git a/Test/snapshots/Snapshots38.v2.bpl b/Test/snapshots/Snapshots38.v2.bpl
new file mode 100644
index 00000000..5c4b69d6
--- /dev/null
+++ b/Test/snapshots/Snapshots38.v2.bpl
@@ -0,0 +1,14 @@
+procedure {:checksum "-1"} Callee();
+
+implementation {:id "Callee"} {:checksum "2"} Callee()
+{
+ var r: int;
+
+ call r := Sum(42);
+ assert r != 0;
+ assert 42 <= r;
+}
+
+procedure {:checksum "3"} Sum(n: int) returns (r: int);
+ requires 0 <= n;
+ ensures n != 0 ==> n <= r;