summaryrefslogtreecommitdiff
path: root/Test/dafny0/CallStmtTests.dfy
diff options
context:
space:
mode:
Diffstat (limited to 'Test/dafny0/CallStmtTests.dfy')
-rw-r--r--Test/dafny0/CallStmtTests.dfy21
1 files changed, 0 insertions, 21 deletions
diff --git a/Test/dafny0/CallStmtTests.dfy b/Test/dafny0/CallStmtTests.dfy
deleted file mode 100644
index 735efe81..00000000
--- a/Test/dafny0/CallStmtTests.dfy
+++ /dev/null
@@ -1,21 +0,0 @@
-
-method testing1(t: int)
-{
- t := m(); // error: should be checked at the Dafny level, not fall to Boogie.
-}
-
-method m() returns (r: int)
-{
- return 3;
-}
-
-method testing2()
-{
- var v;
- v := m2(); // error: v needs to be ghost because r is.
-}
-
-method m2() returns (ghost r: int)
-{
- r := 23;
-}