repo.or.cz
/
official-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 warning with -Wsign-compare -Wsystem-headers
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
gomp
/
master-1.c
blob
2681c216a3ff79dd086b715798af4e3619480e75
1
/* { dg-do compile } */
2
3
extern
void
bar
(
int
);
4
5
void
foo
(
void
)
6
{
7
#pragma omp master
8
bar
(
0
);
9
10
#pragma omp master
11
{
12
bar
(
1
);
13
bar
(
2
);
14
}
15
16
/* Yes, this is legal -- structured-block contains statement contains
17
openmp-construct contains master-construct. */
18
#pragma omp master
19
#pragma omp master
20
#pragma omp master
21
;
22
}