summaryrefslogtreecommitdiff
path: root/Test/snapshots/Snapshots10.v0.bpl
diff options
context:
space:
mode:
Diffstat (limited to 'Test/snapshots/Snapshots10.v0.bpl')
-rw-r--r--Test/snapshots/Snapshots10.v0.bpl20
1 files changed, 20 insertions, 0 deletions
diff --git a/Test/snapshots/Snapshots10.v0.bpl b/Test/snapshots/Snapshots10.v0.bpl
new file mode 100644
index 00000000..bdbb6b63
--- /dev/null
+++ b/Test/snapshots/Snapshots10.v0.bpl
@@ -0,0 +1,20 @@
+procedure {:checksum "0"} M(n: int);
+ requires 0 < n;
+
+implementation {:id "M"} {:checksum "1"} M(n: int)
+{
+ var x: int;
+
+ call x := N(n);
+
+ call O();
+
+ assert 0 <= x;
+}
+
+procedure {:checksum "2"} N(n: int) returns (r: int);
+ requires 0 < n;
+ ensures 0 < r;
+
+procedure {:checksum "3"} O();
+ ensures true;