diff options
author | wuestholz <unknown> | 2014-07-04 03:52:02 +0200 |
---|---|---|
committer | wuestholz <unknown> | 2014-07-04 03:52:02 +0200 |
commit | 06aadffd71f2d96070703371c62bd0e14c76b91f (patch) | |
tree | 9bae55508560d840e8b479067fc2fe1185e9d3a5 /Test/snapshots/Snapshots18.v1.bpl | |
parent | c7508e18b12db7a1acee981560163e2c319dfc5b (diff) |
Implemented an optimization for assignments to assumption variables that are injected by the verification result caching for calls within loops.
Diffstat (limited to 'Test/snapshots/Snapshots18.v1.bpl')
-rw-r--r-- | Test/snapshots/Snapshots18.v1.bpl | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Test/snapshots/Snapshots18.v1.bpl b/Test/snapshots/Snapshots18.v1.bpl new file mode 100644 index 00000000..76f8c597 --- /dev/null +++ b/Test/snapshots/Snapshots18.v1.bpl @@ -0,0 +1,24 @@ +procedure {:checksum "0"} M();
+
+implementation {:id "M"} {:checksum "1"} M()
+{
+ while (true)
+ {
+ assert 0 == 0;
+
+ call N();
+ call N();
+
+ if (*)
+ {
+ break;
+ }
+
+ assert 1 != 1; // error
+ }
+
+ assert 2 != 2; // error
+}
+
+procedure {:checksum "3"} N();
+ ensures true;
|