summaryrefslogtreecommitdiff
path: root/Test/dafny0/snapshots/Inputs/Snapshots5.v0.dfy
diff options
context:
space:
mode:
authorGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2015-07-20 13:00:10 -0700
committerGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2015-07-20 13:00:10 -0700
commit82cd6194369a376e51a6b525e577f7cc8852ebef (patch)
treef52e3788b9b685d3dba82b092934b1fad7273bd0 /Test/dafny0/snapshots/Inputs/Snapshots5.v0.dfy
parent1f53d595ff0e4282ac51a68b124e94cd1af951ec (diff)
Split snapshot tests into separate files and add support for %S in runTests.py
Diffstat (limited to 'Test/dafny0/snapshots/Inputs/Snapshots5.v0.dfy')
-rw-r--r--Test/dafny0/snapshots/Inputs/Snapshots5.v0.dfy26
1 files changed, 26 insertions, 0 deletions
diff --git a/Test/dafny0/snapshots/Inputs/Snapshots5.v0.dfy b/Test/dafny0/snapshots/Inputs/Snapshots5.v0.dfy
new file mode 100644
index 00000000..b81c1a2b
--- /dev/null
+++ b/Test/dafny0/snapshots/Inputs/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;