summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/gomp/macro-1.c
blob: b04610d2ccf78b755659fbd5cbebf1dd516e74b6 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do compile }

#define N 10

extern void bar(void);
void foo(void)
{
  #pragma omp parallel num_threads(N)
    bar();
}