summaryrefslogtreecommitdiff
path: root/tests/source/test5.scade
blob: 1de390da0ab3097970370a9876a4b35066542b0f (plain) (blame)
1
2
3
4
5
6
7
8
node test(i: int) returns(probe a, b, c: int; exit: bool)
let
    b = 0 -> pre a;
    a = if b > 4 then 0 else b + 1;
    c = 0;   
    exit = i >= 10;
tel