summaryrefslogtreecommitdiff
path: root/Test/snapshots/Snapshots7.v0.bpl
diff options
context:
space:
mode:
Diffstat (limited to 'Test/snapshots/Snapshots7.v0.bpl')
-rw-r--r--Test/snapshots/Snapshots7.v0.bpl19
1 files changed, 19 insertions, 0 deletions
diff --git a/Test/snapshots/Snapshots7.v0.bpl b/Test/snapshots/Snapshots7.v0.bpl
new file mode 100644
index 00000000..6b99de1b
--- /dev/null
+++ b/Test/snapshots/Snapshots7.v0.bpl
@@ -0,0 +1,19 @@
+var x: int;
+var y: int;
+var z: int;
+
+procedure {:checksum "0"} M();
+ modifies x, y, z;
+
+implementation {:checksum "1"} M()
+{
+ z := 0;
+
+ call N();
+
+ assert y < 0;
+}
+
+procedure {:checksum "2"} N();
+ modifies x, y;
+ ensures y < z;