/gcc/testsuite/gcc.dg/gomp/macro-1.c
https://gitlab.com/sortix/gcc · C · 10 lines · 7 code · 2 blank · 1 comment · 0 complexity · a4271cf7824f2a837486e7951ee23884 MD5 · raw file
- // { dg-do compile }
- #define N 10
- extern void bar(void);
- void foo(void)
- {
- #pragma omp parallel num_threads(N)
- bar();
- }