Debian Codegraph @

gcc/testsuite/gcc.dg/gomp/num-threads-1.c

raw
1 /* { dg-do compile } */
2
3 extern void bar(void);
4 void foo(void)
5 {
6 #pragma omp parallel num_threads (0) /* { dg-warning "must be positive" } */
7 {
8 bar ();
9 }
10 }