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
Merge from mainline
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
gomp
/
master-3.c
blob
fee09ddd798c8f357c4497a5473c1a6cf4986302
1
/* { dg-do compile } */
2
/* { dg-options "-fopenmp -fdump-tree-ompexp" } */
3
4
extern
void
bar
(
int
);
5
6
void
foo
(
void
)
7
{
8
#pragma omp master
9
bar
(
0
);
10
}
11
12
/* { dg-final { scan-tree-dump-times "omp_get_thread_num" 1 "ompexp" } } */
13
/* { dg-final { cleanup-tree-dump "ompexp" } } */