summaryrefslogtreecommitdiff
path: root/Test/dafny4/Bug132.dfy.expect
diff options
context:
space:
mode:
authorGravatar qunyanm <unknown>2016-02-12 15:59:08 -0800
committerGravatar qunyanm <unknown>2016-02-12 15:59:08 -0800
commit91a0cf94be3cdfaff29d65122c9ea031a1a4976b (patch)
treee473b62f53c8b14e4890835be60dcf5c99dfe412 /Test/dafny4/Bug132.dfy.expect
parent15755e486cfe715f15ed7e71938d07800a98a7f2 (diff)
Fix issue 132. The formal argument can't be assume to be allocated when a
function is invoked inside an "Old" expression.
Diffstat (limited to 'Test/dafny4/Bug132.dfy.expect')
-rw-r--r--Test/dafny4/Bug132.dfy.expect18
1 files changed, 18 insertions, 0 deletions
diff --git a/Test/dafny4/Bug132.dfy.expect b/Test/dafny4/Bug132.dfy.expect
new file mode 100644
index 00000000..0452f42d
--- /dev/null
+++ b/Test/dafny4/Bug132.dfy.expect
@@ -0,0 +1,18 @@
+Bug132.dfy(33,29): Error: receiver argument must be allocated in the state in which the function is invoked
+Execution trace:
+ (0,0): anon0
+ (0,0): anon24_Then
+Bug132.dfy(34,29): Error: receiver argument must be allocated in the state in which the function is invoked
+Execution trace:
+ (0,0): anon0
+ (0,0): anon25_Then
+Bug132.dfy(37,36): Error: argument must be allocated in the state in which the function is invoked
+Execution trace:
+ (0,0): anon0
+ (0,0): anon26_Then
+Bug132.dfy(41,29): Error: receiver argument must be allocated in the state in which the function is invoked
+Execution trace:
+ (0,0): anon0
+ (0,0): anon27_Then
+
+Dafny program verifier finished with 3 verified, 4 errors