diff options
author | rustanleino <unknown> | 2009-11-05 02:28:36 +0000 |
---|---|---|
committer | rustanleino <unknown> | 2009-11-05 02:28:36 +0000 |
commit | 88c490d4c929ab2815c6a33d9ba604057bdd06a0 (patch) | |
tree | d07564e6f7f29ae630097bb68dcc7655ab268709 /Test/VSI-Benchmarks/b7.dfy | |
parent | 48a417d2201f5e4151b1575d4ec011343c69e389 (diff) |
The Dafny call statement now automatically declares left-hand sides as local variables, if they were not already local variables.
Diffstat (limited to 'Test/VSI-Benchmarks/b7.dfy')
-rw-r--r-- | Test/VSI-Benchmarks/b7.dfy | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Test/VSI-Benchmarks/b7.dfy b/Test/VSI-Benchmarks/b7.dfy index 95267823..f7d51058 100644 --- a/Test/VSI-Benchmarks/b7.dfy +++ b/Test/VSI-Benchmarks/b7.dfy @@ -129,12 +129,10 @@ class Client { call rd.Open();
var q:= new Queue<int>;
- var ch;
while (true)
invariant rd.Valid() && fresh(rd.footprint) && fresh(q);
decreases |rd.stream|;
{
- var eos:bool;
call eos := rd.AtEndOfStream();
if (eos)
{
@@ -146,7 +144,6 @@ class Client { }
call rd.Close();
- var perm;
call q,perm := Sort(q);
var wr:= new Stream;
|