scop.c: schedule_embed: drop unused variable
[pet.git] / tests / inline7.c
blob8683a64fc94ff9df89b8b60551d4610e229a71d1
1 struct s {
2 int a[30][40];
3 int b[50];
4 };
6 void g(struct s *u)
8 for (int i = 0; i < 10; ++i)
9 for (int j = 0; j < 10; ++j)
10 u->a[10 + i][20 + j] = i + j;
11 u->b[5] = 1;
14 inline void h(struct s t[20])
16 for (int i = 0; i < 20; ++i)
17 g(&t[i]);
20 void f()
22 struct s s[10][20];
24 #pragma scop
25 for (int i = 0; i < 10; ++i)
26 h(s[i]);
27 #pragma endscop