summaryrefslogtreecommitdiff
path: root/Test/dafny0/columns.dfy
diff options
context:
space:
mode:
Diffstat (limited to 'Test/dafny0/columns.dfy')
-rw-r--r--Test/dafny0/columns.dfy4
1 files changed, 3 insertions, 1 deletions
diff --git a/Test/dafny0/columns.dfy b/Test/dafny0/columns.dfy
index e36142be..72c9ab81 100644
--- a/Test/dafny0/columns.dfy
+++ b/Test/dafny0/columns.dfy
@@ -3,8 +3,10 @@
// Dafny counts columns from 0, but Boogie from one, so for a while there were small bugs with that.
+predicate P(x: int)
+
static method A(x:int) requires x > 0 { // error os 's'
- assert (forall y :: y > x ==> y > 100); // error on '('
+ assert (forall y: int :: P(y)); // error on '('
assert x != 1; // error on '!'
assert x in {}; // error on 'i'
}