summaryrefslogtreecommitdiff
path: root/Test/snapshots/Snapshots23.v1.bpl
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2014-09-23 09:52:08 +0200
committerGravatar wuestholz <unknown>2014-09-23 09:52:08 +0200
commit2031fb15596b2a114f7b3e0bb85ff838507051a0 (patch)
tree2a643e85f9260993b146fdbcfb7e0a65ea18c8a2 /Test/snapshots/Snapshots23.v1.bpl
parent2aee97da085688aab58c154e367558b1f139d476 (diff)
Added a test for the issue that was fixed in changeset 'e972f163bb7c'.
Diffstat (limited to 'Test/snapshots/Snapshots23.v1.bpl')
-rw-r--r--Test/snapshots/Snapshots23.v1.bpl23
1 files changed, 23 insertions, 0 deletions
diff --git a/Test/snapshots/Snapshots23.v1.bpl b/Test/snapshots/Snapshots23.v1.bpl
new file mode 100644
index 00000000..e13116dc
--- /dev/null
+++ b/Test/snapshots/Snapshots23.v1.bpl
@@ -0,0 +1,23 @@
+procedure {:checksum "0"} M();
+
+implementation {:id "M"} {:checksum "1"} M()
+{
+ if (*)
+ {
+ assert 1 != 1; // error
+ }
+ else
+ {
+ assert 2 == 2;
+ }
+
+ assert 3 == 3;
+}
+
+
+procedure {:checksum "2"} N();
+
+implementation {:id "N"} {:checksum "4"} N()
+{
+ assert 4 == 4;
+}