summaryrefslogtreecommitdiff
path: root/Test/dafny0/snapshots/Inputs/Snapshots2.v1.dfy
diff options
context:
space:
mode:
Diffstat (limited to 'Test/dafny0/snapshots/Inputs/Snapshots2.v1.dfy')
-rw-r--r--Test/dafny0/snapshots/Inputs/Snapshots2.v1.dfy19
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
+}