testsuite/libgomp.c/nestedfn-2.c

Go to the documentation of this file.
00001 /* { dg-do run } */
00002 
00003 extern void abort (void);
00004 
00005 int
00006 main (void)
00007 {
00008   int i;
00009   void
00010   foo (void)
00011   {
00012 #pragma omp master
00013     i += 8;
00014   }
00015   i = 4;
00016   foo ();
00017   if (i != 12)
00018     abort ();
00019   return 0;
00020 }

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