summaryrefslogblamecommitdiff
path: root/tests/source/test4.scade
blob: b32a37dd7d01e43105b421e2d76c657d32bf12f5 (plain) (tree)
1
2
3
4
5
6
7
                                                         
   
                  
                                                    

                   
   
node test(i: int) returns(probe a, b, c: int; exit: bool)
let
    exit = i >= 5;
    a = 0 -> (if pre a >= 10 then 0 else pre a + 1);
    b = 0 -> pre i;
    c = 0;
tel