testsuite/libgomp.c/appendix-a/a.26.1.c

Go to the documentation of this file.
00001 /* { dg-do run } */
00002 
00003 #include <stdio.h>
00004 int
00005 main ()
00006 {
00007   int i, j;
00008   i = 1;
00009   j = 2;
00010 #pragma omp parallel private(i) firstprivate(j)
00011   {
00012     i = 3;
00013     j = j + 2;
00014   }
00015   printf ("%d %d\n", i, j); /* i and j are undefined */
00016   return 0;
00017 }

Generated on Fri Apr 5 05:38:10 2013 for Libgomp by  doxygen 1.4.7