summaryrefslogtreecommitdiff
path: root/Test/snapshots/Snapshots28.v1.bpl
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2014-10-19 19:14:47 +0200
committerGravatar wuestholz <unknown>2014-10-19 19:14:47 +0200
commit92aa9a93dd286f10cebd2e10e2bdd2065d51b1aa (patch)
tree49eabf7246f4aab6cafaaa7d57e99e1e65b0dfdf /Test/snapshots/Snapshots28.v1.bpl
parent8f2ef8a079ea77caead0a62f5bec8ce34181d907 (diff)
Added more tests for the verification result caching.
Diffstat (limited to 'Test/snapshots/Snapshots28.v1.bpl')
-rw-r--r--Test/snapshots/Snapshots28.v1.bpl16
1 files changed, 16 insertions, 0 deletions
diff --git a/Test/snapshots/Snapshots28.v1.bpl b/Test/snapshots/Snapshots28.v1.bpl
new file mode 100644
index 00000000..881fa496
--- /dev/null
+++ b/Test/snapshots/Snapshots28.v1.bpl
@@ -0,0 +1,16 @@
+procedure {:checksum "0"} M();
+
+implementation {:id "M"} {:checksum "2"} M()
+{
+ var x: int;
+
+ assume x == 0;
+
+ while (*)
+ {
+ x := 1;
+ }
+
+ assert 0 == 0;
+ assert x == 0; // TODO(wuestholz): This should fail.
+}