summaryrefslogtreecommitdiff
path: root/Test/dafny4
diff options
context:
space:
mode:
authorGravatar qunyanm <unknown>2015-03-11 14:03:48 -0700
committerGravatar qunyanm <unknown>2015-03-11 14:03:48 -0700
commit43b34f8dbbfa2bdc1c0e0f09f8670e2d1c3051fb (patch)
tree8e8895f54fe8b90d18db164fae80b8216a2b3997 /Test/dafny4
parentce2050ff3372ef73976b824f59d8ec1a2ef1645c (diff)
parentf3d609f0f6ef889bb066cc31ee514bb9671f4799 (diff)
Merge
Diffstat (limited to 'Test/dafny4')
-rw-r--r--Test/dafny4/ClassRefinement.dfy4
1 files changed, 2 insertions, 2 deletions
diff --git a/Test/dafny4/ClassRefinement.dfy b/Test/dafny4/ClassRefinement.dfy
index cff6d98f..b5ecfbfa 100644
--- a/Test/dafny4/ClassRefinement.dfy
+++ b/Test/dafny4/ClassRefinement.dfy
@@ -12,7 +12,7 @@ abstract module M0 {
class Counter {
ghost var N: int;
ghost var Repr: set<object>;
- predicate Valid()
+ protected predicate Valid()
reads this, Repr;
{
this in Repr
@@ -51,7 +51,7 @@ module M1 refines M0 {
class Counter {
var c: Cell;
var d: Cell;
- predicate Valid...
+ protected predicate Valid...
{
c != null && c in Repr &&
d != null && d in Repr &&