summary refs log tree commit diff
path: root/tests/pracownia4/pracownia3/034_or_literals.xi
blob: ca1c9daf6c6abd7eac66d2f9eb098bb363d3040a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
convert(b:bool):int
{
    if b {
        return 1
    } else {
        return 0
    }
}
main():int
{
    return convert(false | true)
}

//@PRACOWNIA
//@out Exit code: 1