aboutsummaryrefslogtreecommitdiff
path: root/rcc-legacy/tests/functional/43_time_prior_plus.sy
blob: 879eea7d95c5611b51fb7a4d5a215c04495cc2b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Check the priority between time and plus
int main() {
    int a;
    a = 20;
    int b;
    b = 5;
    int c;
    c = 6;
    int d;
    d = -4;
    a = a + c * d - b % (a + d) / a;
    putint(a);
    return 0;
}