m4/ax_detect_clang.m4: check presence of clang/Basic/LangStandard.h
[pet.git] / tests / for_while_inc2.c
blob6d37929a18827af41c200080b73da11b90a04060
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 x1 = 0; x1 < n; ++x1) {
12 S1: s = f();
13 for (int x2 = 0; P(x1, x2); x2 += s) {
14 S2: s = g(s);
16 R: h(s);
18 #pragma endscop