summaryrefslogtreecommitdiff
path: root/Test/dafny2
diff options
context:
space:
mode:
Diffstat (limited to 'Test/dafny2')
-rw-r--r--Test/dafny2/Calculations.dfy6
1 files changed, 6 insertions, 0 deletions
diff --git a/Test/dafny2/Calculations.dfy b/Test/dafny2/Calculations.dfy
index 8e3a4426..c48f2000 100644
--- a/Test/dafny2/Calculations.dfy
+++ b/Test/dafny2/Calculations.dfy
@@ -210,3 +210,9 @@ ghost method Window(xs: List, ys: List)
true;
}
}
+
+// Empty calculations are also allowed, but they don't generate any Boogie code.
+ghost method Empty()
+{
+ calc {}
+}