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/dafny0/Basics.dfy | |
parent | e52270deab6d2fd5b885848211c2d9d1ab814b09 (diff) |
Dafny: retired the "call" keyword
Diffstat (limited to 'Test/dafny0/Basics.dfy')
-rw-r--r-- | Test/dafny0/Basics.dfy | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Test/dafny0/Basics.dfy b/Test/dafny0/Basics.dfy index 1eeb2d92..e6b9a87d 100644 --- a/Test/dafny0/Basics.dfy +++ b/Test/dafny0/Basics.dfy @@ -23,19 +23,19 @@ method TestCalls(k: nat) { ghost var r: int;
ghost var s := Global.G(k);
-// call r := Global.N(k);
+// r := Global.N(k);
// assert r == s;
- call r := g.N(k);
+ r := g.N(k);
assert r == s;
- call r := h.N(k);
+ r := h.N(k);
assert r == s;
g := null;
- call r := g.N(k);
+ r := g.N(k);
assert r == s;
-// call r := Global.N(r);
+// r := Global.N(r);
if (k == 0) {
assert r == s;
} else {
|