Initial commit from sysy-main

This commit is contained in:
Lixuanwang
2025-02-27 23:14:53 +08:00
commit cc523fd30b
1125 changed files with 257793 additions and 0 deletions

14
test/10_test.sy Normal file
View File

@@ -0,0 +1,14 @@
//test file for backend lab
int main() {
const int a = 1;
const int b = 2;
int c;
if (a == b)
c = a + b;
else
c = a * b;
return c;
}