diff options
author | 2010-03-10 19:44:47 +0000 | |
---|---|---|
committer | 2010-03-10 19:44:47 +0000 | |
commit | 4f420b504f7655642470b4e9fc1868b5f9239c32 (patch) | |
tree | 59de7bb4cd0582424a21c67cd106cd7705c40620 /Test/dafny0/Answer | |
parent | 0047f74764115c2658df625f11a6ccfeb478cc6f (diff) |
Dafny:
* Added "decreases" clauses to methods.
* Interpret the filename stdin.dfy as an indication to read the program from standard input.
Diffstat (limited to 'Test/dafny0/Answer')
-rw-r--r-- | Test/dafny0/Answer | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Test/dafny0/Answer b/Test/dafny0/Answer index 540bcb4b..95302b05 100644 --- a/Test/dafny0/Answer +++ b/Test/dafny0/Answer @@ -8,8 +8,7 @@ class MyClass<T, U> { method M(s: bool, lotsaObjects: set<object>)
returns (t: object, u: set<int>, v: seq<MyClass<bool,U>>):
requires s;
- modifies this;
- modifies lotsaObjects;
+ modifies this, lotsaObjects;
ensures t == t;
ensures old(null) != this;
{
@@ -195,3 +194,7 @@ Dafny program verifier finished with 7 verified, 0 errors -------------------- SumOfCubes.dfy --------------------
Dafny program verifier finished with 10 verified, 0 errors
+
+-------------------- TerminationDemos.dfy --------------------
+
+Dafny program verifier finished with 7 verified, 0 errors
|