Revision 2d37a1e1
Added by Pierre-Loïc Garoche over 6 years ago
regression_tests/lustre_files/success/kind_fmcad08/misc/_6countern.lus | ||
---|---|---|
1 |
--@ ensures OK; |
|
2 | 1 |
node top (init:int) returns (OK:bool); |
2 |
--@ contract guarantees OK; |
|
3 | 3 |
var time:int; |
4 | 4 |
let |
5 | 5 |
time = 0 -> if pre time = 5 then 0 |
Also available in: Unified diff
Renaminig lustre contracts from ensures to guarantees
Will require the latest cocospec branch to compile (before it is integrated in the unstable/master branches)