Retro68/gcc/libgomp/testsuite/libgomp.c/target-4.c
2014-09-21 19:33:12 +02:00

15 lines
226 B
C

#include <omp.h>
#include <stdlib.h>
int
main ()
{
omp_set_dynamic (0);
#pragma omp parallel num_threads (4)
#pragma omp target if (0)
#pragma omp single
if (omp_get_num_threads () != 1)
abort ();
return 0;
}