Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
clang-tests
/
gcc-4_2-testsuite
/
src
/
gcc.dg
/
gomp
/
appendix-a
/
a.37.2.c
blob: 64256c78d886b99ed8f80240fb9099f5bd69c6cb [
file
] [
log
] [
blame
]
/* { dg-do compile } */
extern
int
omp_get_thread_num
(
void
);
void
work
(
int
i
);
void
correct
()
{
int
i
;
#pragma
omp parallel
private
(
i
)
{
i
=
omp_get_thread_num
();
work
(
i
);
}
}