summaryrefslogtreecommitdiff
path: root/Test/snapshots/Snapshots39.v0.bpl
diff options
context:
space:
mode:
Diffstat (limited to 'Test/snapshots/Snapshots39.v0.bpl')
-rw-r--r--Test/snapshots/Snapshots39.v0.bpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/Test/snapshots/Snapshots39.v0.bpl b/Test/snapshots/Snapshots39.v0.bpl
new file mode 100644
index 00000000..083d497e
--- /dev/null
+++ b/Test/snapshots/Snapshots39.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 <= r;