diff options
author | wuestholz <unknown> | 2014-07-06 22:29:26 +0200 |
---|---|---|
committer | wuestholz <unknown> | 2014-07-06 22:29:26 +0200 |
commit | 40efa1496ae36400e0f334a215b86371a56a6b9c (patch) | |
tree | 49a7949bff9797dbc3955af8fe9b6e744353c2ba /Test/snapshots/Snapshots20.v1.bpl | |
parent | bb6e253feab04cc13de3132520eac3ffc8150f01 (diff) |
Worked on adding support for "canned errors".
Diffstat (limited to 'Test/snapshots/Snapshots20.v1.bpl')
-rw-r--r-- | Test/snapshots/Snapshots20.v1.bpl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Test/snapshots/Snapshots20.v1.bpl b/Test/snapshots/Snapshots20.v1.bpl new file mode 100644 index 00000000..04fd0a6e --- /dev/null +++ b/Test/snapshots/Snapshots20.v1.bpl @@ -0,0 +1,20 @@ +procedure {:checksum "0"} M();
+
+implementation {:id "M"} {:checksum "1"} M()
+{
+ if (*)
+ {
+ call N();
+
+ assert 1 != 1; // error
+ }
+ else
+ {
+ assert 2 != 2; // error
+ }
+
+ assert 3 != 3;
+}
+
+procedure {:checksum "3"} N();
+ ensures 0 == 0;
|