summaryrefslogtreecommitdiff
path: root/Test/snapshots/Snapshots21.v0.bpl
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2014-07-06 23:36:08 +0200
committerGravatar wuestholz <unknown>2014-07-06 23:36:08 +0200
commit03ddba11bfb066c2fc2b0f73aaa8d958e6a9d190 (patch)
treec409845e69f3316fe989555e136595742f1ca300 /Test/snapshots/Snapshots21.v0.bpl
parent40efa1496ae36400e0f334a215b86371a56a6b9c (diff)
Added more tests and worked on adding support for "canned errors".
Diffstat (limited to 'Test/snapshots/Snapshots21.v0.bpl')
-rw-r--r--Test/snapshots/Snapshots21.v0.bpl15
1 files changed, 15 insertions, 0 deletions
diff --git a/Test/snapshots/Snapshots21.v0.bpl b/Test/snapshots/Snapshots21.v0.bpl
new file mode 100644
index 00000000..4a4080f5
--- /dev/null
+++ b/Test/snapshots/Snapshots21.v0.bpl
@@ -0,0 +1,15 @@
+procedure {:checksum "0"} M();
+
+implementation {:id "M"} {:checksum "1"} M()
+{
+ if (*)
+ {
+ assert 1 != 1; // error
+ }
+ else
+ {
+ assert 2 != 2; // error
+ }
+
+ assert 3 != 3;
+}