summaryrefslogtreecommitdiff
path: root/Test/snapshots/Snapshots32.v0.bpl
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2014-11-24 11:14:42 +0100
committerGravatar wuestholz <unknown>2014-11-24 11:14:42 +0100
commitdf1fcecae3a43d6079eb6b335b80d9a907945ffe (patch)
tree249432178878fee6e0ef21c9739e39c057c62b94 /Test/snapshots/Snapshots32.v0.bpl
parent30de798ff34bbb34ee474ee510aba08c43e9ac7c (diff)
Fixed issues in the verification result caching (old expressions).
Diffstat (limited to 'Test/snapshots/Snapshots32.v0.bpl')
-rw-r--r--Test/snapshots/Snapshots32.v0.bpl15
1 files changed, 15 insertions, 0 deletions
diff --git a/Test/snapshots/Snapshots32.v0.bpl b/Test/snapshots/Snapshots32.v0.bpl
new file mode 100644
index 00000000..845a6cef
--- /dev/null
+++ b/Test/snapshots/Snapshots32.v0.bpl
@@ -0,0 +1,15 @@
+var g: int;
+
+procedure {:checksum "0"} P();
+ requires g == 0;
+ modifies g;
+
+implementation {:id "P"} {:checksum "1"} P()
+{
+ call Q();
+ assert 0 < g;
+}
+
+procedure {:checksum "2"} Q();
+ modifies g;
+ ensures old(g) < g;