Project

General

Profile

« Previous | Next » 

Revision 2d37a1e1

Added by Pierre-Loïc Garoche over 6 years ago

Renaminig lustre contracts from ensures to guarantees
Will require the latest cocospec branch to compile (before it is integrated in the unstable/master branches)

View differences:

regression_tests/lustre_files/success/kind_fmcad08/memory1/DRAGON_1_e2_1997_e7_3613_e2_3409.lus
80 80
   if(e12) then if(g12) then pre invalid+1 else pre invalid else 
81 81
   pre invalid;
82 82
tel
83
--@ ensures OK;
84 83
node top( e01, e02, e03, e04, e05, e06, e07, e08, e09, e10, e11, e12 : bool;
85 84
         init_invalid : int ) returns ( OK : bool );
85
--@ contract guarantees OK;
86 86
    var exclusive, shared, shared_dirty, dirty, invalid : int;
87 87
        erreur : bool;
88 88
let

Also available in: Unified diff