Retro68/gcc/libgomp/testsuite/libgomp.c/thread-limit-5.c
2022-10-27 20:55:19 +02:00

13 lines
182 B
C

#include <stdlib.h>
#include <omp.h>
int
main ()
{
#pragma omp teams thread_limit (1)
#pragma omp parallel if(0)
if (omp_get_thread_limit () != 1)
abort ();
return 0;
}