summaryrefslogtreecommitdiff
path: root/Test/dafny0/Array.dfy.expect
diff options
context:
space:
mode:
authorGravatar Rustan Leino <unknown>2015-06-15 16:19:11 -0700
committerGravatar Rustan Leino <unknown>2015-06-15 16:19:11 -0700
commit58d639bff25a2d4dadf6febb81b1438e957c43cd (patch)
tree255610eee4a6f550dc4943278949bb95b2fe179a /Test/dafny0/Array.dfy.expect
parent7f89a05ae627b7c5498b82deaea34cabc465aaa6 (diff)
Do postponsed reads checking also for the body of functions -- see Test/dafny0/Reads.dfy for benefits.
(Unfortunately, this loses track of the "postcondition might not hold on this return path" locations, see Test/dafny0/FunctionSpecifications.dfy.)
Diffstat (limited to 'Test/dafny0/Array.dfy.expect')
-rw-r--r--Test/dafny0/Array.dfy.expect6
1 files changed, 6 insertions, 0 deletions
diff --git a/Test/dafny0/Array.dfy.expect b/Test/dafny0/Array.dfy.expect
index ff05137b..59dcb4bf 100644
--- a/Test/dafny0/Array.dfy.expect
+++ b/Test/dafny0/Array.dfy.expect
@@ -48,6 +48,7 @@ Execution trace:
(0,0): anon11_Then
(0,0): anon12_Then
(0,0): anon13_Then
+ (0,0): anon9
Array.dfy(122,8): Error: insufficient reads clause to read the indicated range of array elements
Execution trace:
(0,0): anon0
@@ -55,6 +56,7 @@ Execution trace:
(0,0): anon11_Then
(0,0): anon12_Then
(0,0): anon13_Else
+ (0,0): anon9
Array.dfy(123,8): Error: insufficient reads clause to read the indicated range of array elements
Execution trace:
(0,0): anon0
@@ -62,6 +64,7 @@ Execution trace:
(0,0): anon11_Then
(0,0): anon12_Then
(0,0): anon13_Else
+ (0,0): anon9
Array.dfy(124,8): Error: insufficient reads clause to read the indicated range of array elements
Execution trace:
(0,0): anon0
@@ -69,18 +72,21 @@ Execution trace:
(0,0): anon11_Then
(0,0): anon12_Then
(0,0): anon13_Else
+ (0,0): anon9
Array.dfy(163,6): Error: insufficient reads clause to read array element
Execution trace:
(0,0): anon0
(0,0): anon8_Else
(0,0): anon9_Then
(0,0): anon10_Then
+ (0,0): anon7
Array.dfy(171,6): Error: insufficient reads clause to read array element
Execution trace:
(0,0): anon0
(0,0): anon8_Else
(0,0): anon9_Then
(0,0): anon10_Then
+ (0,0): anon7
Array.dfy(187,6): Error: assignment may update an array element not in the enclosing context's modifies clause
Execution trace:
(0,0): anon0