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

Also available in: Unified diff