diff options
author | wuestholz <unknown> | 2014-07-13 17:06:51 +0200 |
---|---|---|
committer | wuestholz <unknown> | 2014-07-13 17:06:51 +0200 |
commit | 67e7cf6d379e48fde4998423894e6dd5ea482543 (patch) | |
tree | 46afbb5c12389f968dd6ba277c17327b854ae000 /Test/dafny0/snapshots/Snapshots5.v1.dfy | |
parent | 8041bef009e34bb3c5e81ffe7b906ae4347e85d3 (diff) |
Added a test.
Diffstat (limited to 'Test/dafny0/snapshots/Snapshots5.v1.dfy')
-rw-r--r-- | Test/dafny0/snapshots/Snapshots5.v1.dfy | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Test/dafny0/snapshots/Snapshots5.v1.dfy b/Test/dafny0/snapshots/Snapshots5.v1.dfy new file mode 100644 index 00000000..05dbced0 --- /dev/null +++ b/Test/dafny0/snapshots/Snapshots5.v1.dfy @@ -0,0 +1,27 @@ +method M()
+{
+ N();
+ if (*)
+ {
+
+ }
+ else
+ {
+ assert (forall b: bool :: b || !b) || 0 != 0;
+ }
+ N();
+ assert (forall b: bool :: b || !b) || 3 != 3;
+ if (*)
+ {
+
+ }
+ else
+ {
+ assert (exists b: bool :: b || !b) || 4 != 4;
+ }
+ assert (exists b: bool :: b || !b) || 5 != 5;
+}
+
+
+method N()
+ ensures (forall b: bool :: b || !b) || 2 != 2;
|