summaryrefslogtreecommitdiff
path: root/Chalice/tests/general-tests/FunctionPostcondition.chalice
blob: 7fd95b052242586b4b961e2bc8252f02a16669c6 (plain)
1
2
3
4
5
6
7
8
9
10
// this test is for function postconditions

class FunctionPostconditions
{
  predicate valid { true }
  
  function t1(): int
    ensures unfolding valid in true;
  { 1 }
}