summary refs log tree commit diff
path: root/tests/pracownia3/023_ifelse_pred.xi
blob: 10010d6d6a8202ca9e224c1896832e86e672c22f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pred():bool
{
    return true
}

main():int
{
    result:int = 13
    if pred() {
        result = 100
    } else {
        result = 1
    }
    return result
}

//@PRACOWNIA
//@out Exit code: 100