summaryrefslogtreecommitdiff
path: root/Test/snapshots/Snapshots17.v0.bpl
diff options
context:
space:
mode:
Diffstat (limited to 'Test/snapshots/Snapshots17.v0.bpl')
-rw-r--r--Test/snapshots/Snapshots17.v0.bpl32
1 files changed, 32 insertions, 0 deletions
diff --git a/Test/snapshots/Snapshots17.v0.bpl b/Test/snapshots/Snapshots17.v0.bpl
new file mode 100644
index 00000000..58ef53e7
--- /dev/null
+++ b/Test/snapshots/Snapshots17.v0.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;
+ }
+
+ call N();
+
+ assert false;
+ }
+
+ assert true;
+}
+
+procedure {:checksum "2"} N();
+ ensures false;