aboutsummaryrefslogtreecommitdiff
path: root/rcc-legacy/tests/functional/44_add_prior_equal.sy
blob: 5996adafa0135c1eec26a5b58d5356d565e1efc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Add is prior than equal and not equal
int main () {
    int a;
    int b;
    int c;
    a = 1;
    b = 4;
    c = 28;
    int t;
    if (c + a != b) {
        t = c % -b;
        putint(t);
    }
    if (b - c == a) {
        t = c%b+b;
        putint(t);
    }
    return 0;
}