PageRenderTime 21ms CodeModel.GetById 18ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/gcc/testsuite/gcc.dg/gomp/sections-3.c

https://gitlab.com/sortix/gcc
C | 15 lines | 11 code | 3 blank | 1 comment | 0 complexity | b72fe99f861779472bd3b1cf3587d478 MD5 | raw file
 1
 2// { dg-do compile }
 3
 4extern void bar (void);
 5
 6int main (void)
 7{
 8  #pragma omp parallel sections nowait /* { dg-error "'nowait'" } */
 9    {
10    #pragma omp section
11	{ bar(); }
12    #pragma omp section
13	{ bar(); }
14    }
15}