scop.c: extract out expr_collect_access
[pet.git] / tests / while.c
blob1508d65da0a994d4a76c4a081184c267ea3498ea
1 int f(void);
2 int P(int, int);
3 int g(int);
4 void h(int);
6 void foo(int n)
8 int s;
10 #pragma scop
11 for (int x = 0; x < n; ++x) {
12 S1: s = f();
13 while (P(x, s)) {
14 S2: s = g(s);
16 R: h(s);
18 #pragma endscop