CompilerSysY/testcases/functional_test/044_op_priority2.sy
2023-05-08 21:15:52 +08:00

9 lines
144 B
Plaintext

//test the priority of add and mul
int main(){
int a, b, c, d;
a = 10;
b = 4;
c = 2;
d = 2;
return (c + a) * (b - d);
}