summaryrefslogtreecommitdiff
path: root/Test/dafny0/columns.dfy
diff options
context:
space:
mode:
authorGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2015-08-28 20:50:50 -0700
committerGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2015-08-28 20:50:50 -0700
commit95a42a224dff8eae383d93beb37a3da6a28bb0f3 (patch)
tree9a3b1f5fcba891aa5878a27528fa4ca619b8af6a /Test/dafny0/columns.dfy
parent3d45aa05a023c092167d938a72adf78cf1f76fdf (diff)
Suppress many warnings in the test suite.
We already have separate tests for those, and we want the output to be the same with and without /autoTriggers.
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'
}