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_all2.lus
100 100
   pre invalid;
101 101
tel
102 102

  
103
--@ ensures OK;
104 103
node top( e01, e02, e03, e04, e05, e06, e07, e08, e09, e10, e11, e12 : bool;
105 104
             init_invalid : int )
106 105
returns ( OK: bool );
106
--@ contract guarantees OK;
107 107
    var exclusive, shared, shared_dirty, dirty, invalid : int;
108 108
        R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14 : bool;
109 109
        erreur : bool;

Also available in: Unified diff