summaryrefslogtreecommitdiff
path: root/Test/dafny0/Basics.dfy
diff options
context:
space:
mode:
authorGravatar leino <unknown>2014-10-13 18:40:33 -0700
committerGravatar leino <unknown>2014-10-13 18:40:33 -0700
commitebcff257d69ebe04486b79bd4c2496907f1e810d (patch)
tree6083eafbc25993f927f5350b9e1d216eea3891c9 /Test/dafny0/Basics.dfy
parent25491156486a9e1a1642278f40ea6e9378c72da7 (diff)
Changed variable names in test case
Diffstat (limited to 'Test/dafny0/Basics.dfy')
-rw-r--r--Test/dafny0/Basics.dfy6
1 files changed, 3 insertions, 3 deletions
diff --git a/Test/dafny0/Basics.dfy b/Test/dafny0/Basics.dfy
index b639acc5..6e71e5b2 100644
--- a/Test/dafny0/Basics.dfy
+++ b/Test/dafny0/Basics.dfy
@@ -92,9 +92,9 @@ method ExpliesAssociativityM(A: bool, B: bool, C: bool) {
assert x == y;
assert x == z; // error
} else {
- x := A <== B <== C;
- y := (A <== B) <== C; // parens not needed, because <== is left associative
- z := A <== (B <== C);
+ x := C <== B <== A;
+ y := (C <== B) <== A; // parens not needed, because <== is left associative
+ z := C <== (B <== A);
assert x == y;
assert x == z; // error
}