PR testsuite/85483: Move aarch64/sve/vcond_1.c test to g++.dg/other/
[official-gcc.git] / libgomp / testsuite / libgomp.c / sections-2.c
blob38216befe0bca9be9f8a8f30bb425e81dfb7f5c2
1 /* { dg-do run } */
3 #include <stdlib.h>
4 #include <unistd.h>
6 __attribute__((noinline, noclone, noreturn))
7 void
8 foo ()
10 sleep (4);
11 exit (0);
14 int
15 main ()
17 #pragma omp parallel
19 #pragma omp sections
21 foo ();
22 #pragma omp section
23 foo ();
24 #pragma omp section
25 foo ();
28 return 0;