.
[official-gcc.git] / gcc / testsuite / gcc.dg / gomp / preprocess-1.c
blob714c8404d8344d0c2d7109ffe8f069d3157a12dc
1 /* { dg-do preprocess } */
3 void foo (void)
5 int i1, j1, k1;
6 #define p parallel
7 #define P(x) private (x##1)
8 #define S(x) shared (x##1)
9 #define F(x) firstprivate (x##1)
10 #pragma omp p P(i) \
11 S(j) \
12 F(k)
16 /* { dg-final { scan-file preprocess-1.i "(^|\n)#pragma omp parallel private \\(i1\\) shared \\(j1\\) firstprivate \\(k1\\)($|\n)" } } */