diff options
author | Jason Koenig <unknown> | 2012-06-13 19:02:21 -0700 |
---|---|---|
committer | Jason Koenig <unknown> | 2012-06-13 19:02:21 -0700 |
commit | def4fa1d7307859a4f96338fee3508da90659f12 (patch) | |
tree | a5a847cbe75eed0c10e664984d60d24a0ed7c4ee /Test/dafny0/Basics.dfy | |
parent | 57ef7564ca7215699ef2d7f52202ec4b9285a23e (diff) | |
parent | e07ce1423cf6b75adc8884d2d01e09b4d0f9519b (diff) |
Merge
Diffstat (limited to 'Test/dafny0/Basics.dfy')
-rw-r--r-- | Test/dafny0/Basics.dfy | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Test/dafny0/Basics.dfy b/Test/dafny0/Basics.dfy index 87a984a3..7fca7199 100644 --- a/Test/dafny0/Basics.dfy +++ b/Test/dafny0/Basics.dfy @@ -240,14 +240,3 @@ method notQuiteSwap3(c: CC, d: CC) c.x, d.x := 4, c.y;
c.x, c.y := 3, c.y;
}
-
-method M() returns (a: int, b: int) {
- return 4, 6;
-}
-method otherChecks()
-{
- var x: int, y: int;
- x, y :| x + y == 5; // fine
- x, x :| x + y == 5; // BAD, must give different variables.
- //x, x := M(); // <-- this is caught early, so it suppresses other errors.
-}
\ No newline at end of file |