diff options
author | Nadia Polikarpova <nadia.polikarpova@gmail.com> | 2012-09-19 13:58:23 +0200 |
---|---|---|
committer | Nadia Polikarpova <nadia.polikarpova@gmail.com> | 2012-09-19 13:58:23 +0200 |
commit | 1f91d2e97ef23a5182d0db8fdfbe4716fec46dd2 (patch) | |
tree | d16e8a32e9ce16ddadeaa34808efc2f1111fb392 /Test/dafny2/Calculations.dfy | |
parent | b1530597d97bf6adbdc64b6f7698e1e1bee6966b (diff) |
Allow empty calc statements
Diffstat (limited to 'Test/dafny2/Calculations.dfy')
-rw-r--r-- | Test/dafny2/Calculations.dfy | 6 |
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 {}
+}
|