diff options
author | Rustan Leino <leino@microsoft.com> | 2011-05-26 00:02:57 -0700 |
---|---|---|
committer | Rustan Leino <leino@microsoft.com> | 2011-05-26 00:02:57 -0700 |
commit | d9f2a82a417703f3669ba8399dcc8bcf34c3d742 (patch) | |
tree | 08b309fd809639a62c453c33dac86845dd4b9815 /Test/VSComp2010/Problem1-SumMax.dfy | |
parent | e52270deab6d2fd5b885848211c2d9d1ab814b09 (diff) |
Dafny: retired the "call" keyword
Diffstat (limited to 'Test/VSComp2010/Problem1-SumMax.dfy')
-rw-r--r-- | Test/VSComp2010/Problem1-SumMax.dfy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/VSComp2010/Problem1-SumMax.dfy b/Test/VSComp2010/Problem1-SumMax.dfy index 1b105ac1..3db9bf72 100644 --- a/Test/VSComp2010/Problem1-SumMax.dfy +++ b/Test/VSComp2010/Problem1-SumMax.dfy @@ -38,6 +38,6 @@ method Main() a[7] := 1;
a[8] := 10;
a[9] := 6;
- call s, m := M(10, a);
+ var s, m := M(10, a);
print "N = ", a.Length, " sum = ", s, " max = ", m, "\n";
}
|