Retro68/gcc/libgomp/testsuite/libgomp.c/thread-limit-3.c

13 lines
181 B
C
Raw Normal View History

2014-09-21 17:33:12 +00:00
#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;
}