[backend] supported if

This commit is contained in:
Lixuanwang
2025-06-23 06:16:19 +08:00
parent 10e1476ba1
commit af00612376
3 changed files with 238 additions and 142 deletions

View File

@ -6,9 +6,9 @@ int main() {
int c;
if (a == b)
c = a + b;
c = b - a + 20; // 21 <- this
else
c = a * b + b;
c = a * b + b + b + 10; // 16
return c;
}

View File

@ -7,7 +7,7 @@ int mul(int x, int y) {
int main(){
int a, b;
a = 10;
b = 0;
a = mul(a, b);
return a + b;
b = 3;
a = mul(a, b); //60
return a + b; //66
}