summary refs log tree commit diff
path: root/tests/pracownia3/025_and_literals.xi
blob: fc87e960130e219f6f9a6e45a51de5d6bab7b4c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
convert(b:bool):int
{
    if b {
        return 1
    } else {
        return 0
    }
}

main():int
{
    return convert(true & false)
}

//@PRACOWNIA
//@out Exit code: 0