Retro68/gcc/libgomp/testsuite/libgomp.c/single-2.c
Wolfgang Thaller aaf905ce07 add gcc 4.70
2012-03-28 01:13:14 +02:00

16 lines
153 B
C

#include <stdlib.h>
int
main (void)
{
int i;
i = 4;
#pragma omp single copyprivate (i)
{
i = 6;
}
if (i != 6)
abort ();
return 0;
}