summaryrefslogtreecommitdiff
path: root/tests/source/test4.scade
blob: c66a56f64cb8083b4d117ead9aa2efab66af0bd7 (plain) (blame)
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