testsuite/libgomp.c/shared-3.c

Go to the documentation of this file.
00001 /* { dg-do run } */
00002 
00003 void abort (void);
00004 
00005 int main()
00006 {
00007   int x;
00008   int *p;
00009 
00010   p = &x;
00011 
00012   #pragma omp parallel
00013     {
00014       if (p != &x)
00015         abort ();
00016     }
00017 
00018   return 0;
00019 }

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