summaryrefslogtreecommitdiff
path: root/Test/dafny0
diff options
context:
space:
mode:
Diffstat (limited to 'Test/dafny0')
-rw-r--r--Test/dafny0/Calculations.dfy4
1 files changed, 2 insertions, 2 deletions
diff --git a/Test/dafny0/Calculations.dfy b/Test/dafny0/Calculations.dfy
index 9e44f62e..80775896 100644
--- a/Test/dafny0/Calculations.dfy
+++ b/Test/dafny0/Calculations.dfy
@@ -12,8 +12,8 @@ method CalcTest0(s: seq<int>) {
if (|s| > 0) {
calc {
s[0]; // OK: well-formed in this context
- { assert s[0] == s[0]; }
- <= s[0];
+ <= { assert s[0] == s[0]; }
+ s[0];
}
}
}