[backend]将testdata/下的测例替换为了赛方测试用例,更新了测试脚本

This commit is contained in:
Lixuanwang
2025-07-19 01:44:37 +08:00
parent 6335abe806
commit 69d27f058d
331 changed files with 45011 additions and 2365 deletions

26
testdata/functional/53_scope2.sy vendored Normal file
View File

@@ -0,0 +1,26 @@
int k;
int main() {
k = 3389;
if (k < 10000) {
k = k + 1;
int k = 112;
while (k > 10) {
k = k - 88;
if (k < 1000) {
int g = 9;
{
int l = 11;
{
g = 10;
k = k - g;
int g = 11;
k = k + g + l;
}
}
}
}
putint(k);
}
return k;
}