summary refs log tree commit diff
path: root/tests/pracownia3/047_and_10_.xi
blob: d9469ae71e83e59edf6e1744274e7c56dc05a210 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
printString(str:int[])

pred_lhs():bool
{
    printString("pred_lhs")
    return true
}

pred_rhs():bool
{
    printString("pred_rhs")
    return false
}

main():int
{
    result:int = 3
    if pred_lhs() & pred_rhs() {
        result = 1
    } else {
        result = 0
    }

    return result
}

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