diff options
author | wuestholz <unknown> | 2014-05-30 18:41:15 +0200 |
---|---|---|
committer | wuestholz <unknown> | 2014-05-30 18:41:15 +0200 |
commit | 1dc4ec5049b6faa76150bb5a9efd7674c53376e2 (patch) | |
tree | cae86e0b55354a625765bc73c93183fd625e5be7 /Test/snapshots/Snapshots8.v0.bpl | |
parent | 44e2777a963f2cd14523093055a86803252049be (diff) |
Added more tests (snapshots).
Diffstat (limited to 'Test/snapshots/Snapshots8.v0.bpl')
-rw-r--r-- | Test/snapshots/Snapshots8.v0.bpl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Test/snapshots/Snapshots8.v0.bpl b/Test/snapshots/Snapshots8.v0.bpl new file mode 100644 index 00000000..73dcd9aa --- /dev/null +++ b/Test/snapshots/Snapshots8.v0.bpl @@ -0,0 +1,15 @@ +procedure {:checksum "0"} M(n: int);
+ requires 0 < n;
+
+implementation {:id "M"} {:checksum "1"} M(n: int)
+{
+ var x: int;
+
+ call x := N(n);
+
+ assert 0 <= x;
+}
+
+procedure {:checksum "2"} N(n: int) returns (r: int);
+ requires 0 < n;
+ ensures 0 < r;
|