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/misc/ticket3i_1_e7_1669.lus
67 67
   if(e7) then if(g7) then pre t else pre a3 else 
68 68
   pre a3;
69 69
tel
70
--@ ensures OK;
71 70
node top( e1, e2, e3, e4, e5, e6, e7, e8, e9 : bool;
72 71
         init_a1, init_a2, init_a3, init_t : int )
73 72
returns ( OK : bool );
73
--@ contract guarantees OK;
74 74
    var p1, p2, p3, t, s, a1, a2, a3 : int;
75 75
        erreur_ticket3i : bool;
76 76
let

Also available in: Unified diff