aboutsummaryrefslogtreecommitdiff
path: root/rcc-legacy/tests/functional/46_and_prior_or.sy
blob: b478ec27f64e9cfb92b2b39e87c0a68d0c03922d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// And is prior to or
int main () {
    int a;
    int b;
    int c;
    int d;
    a = 3;
    b = 8;
    c = -4;
    d = 15;
    int t;
    if (d % (b - a) != 0 && a > 0 || d % 3 == 0 && c > 0) {
        t = d + c - -b;
        putint(t);
    }
    return 0;
}