PetScan::scan(FunctionDecl *): construct a pet_context up front
[pet.git] / tests / struct2.c
blob2af9f93ebcc6229cfa116a8a796ce2fda3a58777
1 struct s {
2 int a;
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 s[i][j].a = 5;
13 #pragma endscop