Project

General

Profile

« Previous | Next » 

Revision 2d37a1e1

Added by Pierre-Loïc Garoche over 3 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_2_e2_3183_e1_2644.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