diff options
Diffstat (limited to 'Test/snapshots/Snapshots17.v1.bpl')
-rw-r--r-- | Test/snapshots/Snapshots17.v1.bpl | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Test/snapshots/Snapshots17.v1.bpl b/Test/snapshots/Snapshots17.v1.bpl new file mode 100644 index 00000000..4d22ab3d --- /dev/null +++ b/Test/snapshots/Snapshots17.v1.bpl @@ -0,0 +1,32 @@ +procedure {:checksum "0"} M();
+
+implementation {:id "M"} {:checksum "1"} M()
+{
+ var x: int;
+
+ x := 0;
+ while (*)
+ {
+ while (*)
+ {
+ assert true;
+
+ call N();
+
+ call N();
+
+ x := x + 1;
+
+ assert x == 1; // error
+ }
+
+ call N();
+
+ assert false; // error
+ }
+
+ assert true;
+}
+
+procedure {:checksum "3"} N();
+ ensures true;
|