diff options
author | Clément Pit--Claudel <clement.pitclaudel@live.com> | 2015-07-20 13:00:10 -0700 |
---|---|---|
committer | Clément Pit--Claudel <clement.pitclaudel@live.com> | 2015-07-20 13:00:10 -0700 |
commit | 82cd6194369a376e51a6b525e577f7cc8852ebef (patch) | |
tree | f52e3788b9b685d3dba82b092934b1fad7273bd0 /Test/dafny0/snapshots/Inputs/Snapshots2.v1.dfy | |
parent | 1f53d595ff0e4282ac51a68b124e94cd1af951ec (diff) |
Split snapshot tests into separate files and add support for %S in runTests.py
Diffstat (limited to 'Test/dafny0/snapshots/Inputs/Snapshots2.v1.dfy')
-rw-r--r-- | Test/dafny0/snapshots/Inputs/Snapshots2.v1.dfy | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Test/dafny0/snapshots/Inputs/Snapshots2.v1.dfy b/Test/dafny0/snapshots/Inputs/Snapshots2.v1.dfy new file mode 100644 index 00000000..02a91b52 --- /dev/null +++ b/Test/dafny0/snapshots/Inputs/Snapshots2.v1.dfy @@ -0,0 +1,19 @@ +method M()
+{
+ N();
+ assert false; // error
+}
+
+method N()
+ ensures P();
+
+predicate P()
+ ensures P() == Q();
+
+predicate Q()
+ ensures Q() == R();
+
+predicate R()
+{
+ true
+}
|