diff options
Diffstat (limited to 'Test/dafny0/snapshots/Snapshots5.v0.dfy')
-rw-r--r-- | Test/dafny0/snapshots/Snapshots5.v0.dfy | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Test/dafny0/snapshots/Snapshots5.v0.dfy b/Test/dafny0/snapshots/Snapshots5.v0.dfy new file mode 100644 index 00000000..b81c1a2b --- /dev/null +++ b/Test/dafny0/snapshots/Snapshots5.v0.dfy @@ -0,0 +1,26 @@ +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 (forall b: bool :: b || !b) || 1 != 1;
+ }
+}
+
+
+method N()
+ ensures (forall b: bool :: b || !b) || 2 != 2;
|