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