add pet_expr_map_top_down
[pet.git] / tests / struct3.c
blobe2f0cf8f90d7e2e2c1c5e1638b2c8092fb321294
1 struct s {
2 int a[30][40];
3 };
5 void foo()
7 struct s s[10][20];
9 #pragma scop
10 for (int i = 0; i < 10; ++i)
11 for (int j = 0; j < 20; ++j)
12 for (int k = 0; k < 30; ++k)
13 for (int l = 0; l < 40; ++l)
14 s[i][j].a[k][l] = i + j + k + l;
15 #pragma endscop