Retro68/gcc/libgomp/testsuite/libgomp.c/thread-limit-3.c
2014-09-21 19:33:12 +02:00

13 lines
181 B
C

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