summaryrefslogtreecommitdiff
path: root/Test/dafny0/ReturnErrors.dfy.expect
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2014-05-29 21:41:00 +0200
committerGravatar wuestholz <unknown>2014-05-29 21:41:00 +0200
commit607ef28aadb281ab61a2be493a637126e967a388 (patch)
treeaae16c049c860e443920f9c6ee31af4e35f8a800 /Test/dafny0/ReturnErrors.dfy.expect
parentdc0a9130355352d0f47e07232d8119fc7219ccbc (diff)
Set up the same test infrastructure as in Boogie.
Diffstat (limited to 'Test/dafny0/ReturnErrors.dfy.expect')
-rw-r--r--Test/dafny0/ReturnErrors.dfy.expect4
1 files changed, 4 insertions, 0 deletions
diff --git a/Test/dafny0/ReturnErrors.dfy.expect b/Test/dafny0/ReturnErrors.dfy.expect
new file mode 100644
index 00000000..2d57c731
--- /dev/null
+++ b/Test/dafny0/ReturnErrors.dfy.expect
@@ -0,0 +1,4 @@
+ReturnErrors.dfy(32,10): Error: cannot have method call in return statement.
+ReturnErrors.dfy(38,10): Error: cannot have effectful parameter in multi-return statement.
+ReturnErrors.dfy(43,10): Error: can only have initialization methods which modify at most 'this'.
+3 resolution/type errors detected in c:\codeplex\dafny\Test\dafny0\ReturnErrors.dfy