Retro68/gcc/libgomp/testsuite/libgomp.c/single-2.c

16 lines
153 B
C
Raw Normal View History

2012-03-27 23:13:14 +00:00
#include <stdlib.h>
int
main (void)
{
int i;
i = 4;
#pragma omp single copyprivate (i)
{
i = 6;
}
if (i != 6)
abort ();
return 0;
}