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_14_e7_3162_e7_3528.lus
85 85
   if(e12) then if(g12) then pre invalid+1 else pre invalid else 
86 86
   pre invalid;
87 87
tel
88
--@ ensures OK;
89 88
node top( e01, e02, e03, e04, e05, e06, e07, e08, e09, e10, e11, e12 : bool;
90 89
             init_invalid : int ) returns ( OK : bool );
90
--@ contract guarantees OK;
91 91
    var exclusive, shared, shared_dirty, dirty, invalid : int;
92 92
        erreur : bool;
93 93
        env : bool;

Also available in: Unified diff