repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix type compatibility for types with flexible array member 2/2 [PR113688,PR114713...
[gcc.git]
/
libgomp
/
testsuite
/
libgomp.c
/
sections-2.c
blob
38216befe0bca9be9f8a8f30bb425e81dfb7f5c2
1
/* { dg-do run } */
2
3
#include <stdlib.h>
4
#include <unistd.h>
5
6
__attribute__
((
noinline
,
noclone
,
noreturn
))
7
void
8
foo
()
9
{
10
sleep
(
4
);
11
exit
(
0
);
12
}
13
14
int
15
main
()
16
{
17
#pragma omp parallel
18
{
19
#pragma omp sections
20
{
21
foo
();
22
#pragma omp section
23
foo
();
24
#pragma omp section
25
foo
();
26
}
27
}
28
return
0
;
29
}