Makefile.am: use automatic variable for target
[pet.git] / tests / inline9.c
blob525b30bce4bca97382f0c32af2826ead4de72ea0
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 int a = 0;
17 for (int i = 0; i < 20; ++i)
18 g(&t[i]);
21 void f()
23 struct s s[10][20];
25 #pragma scop
26 int a = 1;
27 for (int i = 0; i < 10; ++i)
28 h(s[i]);
29 #pragma endscop