summaryrefslogtreecommitdiff
path: root/Test/dafny0/Simple.dfy.expect
diff options
context:
space:
mode:
authorGravatar leino <unknown>2015-03-07 17:03:35 -0800
committerGravatar leino <unknown>2015-03-07 17:03:35 -0800
commit1157b689cbc7c65cde1f20192e8b3b49046d6fc4 (patch)
tree86c8df3819110e095b045d242f3ee013a1bfe066 /Test/dafny0/Simple.dfy.expect
parent13b3fc763b1d5ab070eb4583bbca342ec0582ac4 (diff)
Added 'protected' keyword (syntax)
Diffstat (limited to 'Test/dafny0/Simple.dfy.expect')
-rw-r--r--Test/dafny0/Simple.dfy.expect14
1 files changed, 14 insertions, 0 deletions
diff --git a/Test/dafny0/Simple.dfy.expect b/Test/dafny0/Simple.dfy.expect
index 1e6a4f11..e6647c8a 100644
--- a/Test/dafny0/Simple.dfy.expect
+++ b/Test/dafny0/Simple.dfy.expect
@@ -53,6 +53,20 @@ class C {
var list: List<bool>
}
+class CF {
+ static function F(): int
+
+ predicate method G()
+
+ copredicate Co(): bool
+
+ protected function H(): int
+
+ static protected function method I(): real
+
+ static protected predicate method J()
+}
+
lemma M(x: int)
ensures x < 8
{