gcc/
[official-gcc.git] / libgomp / testsuite / libgomp.c / single-2.c
blobb510ce735e25df96d23507b8d185e055dc13f6df
1 #include <stdlib.h>
3 int
4 main (void)
6 int i;
7 i = 4;
8 #pragma omp single copyprivate (i)
10 i = 6;
12 if (i != 6)
13 abort ();
14 return 0;