Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
libgomp
/
testsuite
/
libgomp.c
/
thread-limit-3.c
blob: 01b33968c1b562083987c72988b03806b3811734 [
file
] [
log
] [
blame
]
#include
<stdlib.h>
#include
<omp.h>
int
main
()
{
#pragma
omp target
if
(
0
)
#pragma
omp teams thread_limit
(
1
)
#pragma
omp parallel
if
(
0
)
if
(
omp_get_thread_limit
()
!=
1
)
abort
();
return
0
;
}