parse.c: extract_tree: avoid uninitialized read on error path
[pet.git] / tests / inline6.c
blob9cdfc5111f9c5b1affde168dc0bcd0c71ebf3394
1 inline void add2(int *a)
3 int t = 2;
4 a[0] += t;
7 inline void add3(int *a)
9 int t = 3;
10 a[0] += t;
13 void foo()
15 int i;
16 int a[10];
18 #pragma scop
19 for (i = 0; i < 10; ++i) {
20 a[i] = 0;
21 add2(&a[i]);
22 add3(&a[i]);
24 #pragma endscop