[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

19
testdata/functional/84_long_array2.sy vendored Normal file
View File

@ -0,0 +1,19 @@
int a[4096];
int f1(int b[])
{
a[5] = 4000;
a[4000] = 3;
a[4095] = 7;
b[a[4095]] = a[2216] + 9;
return a[a[5]];
}
int main()
{
int b[4][1024] = {{}, {1}, {2, 3}, {4, 5, 6}};
int c[1024][4] = {{1, 2}, {3, 4}};
putint(f1(c[0]));
putch(10);
return c[2][0];
}