Retro68/gcc/libgomp/testsuite/libgomp.c/nestedfn-2.c
Wolfgang Thaller aaf905ce07 add gcc 4.70
2012-03-28 01:13:14 +02:00

21 lines
196 B
C

/* { dg-do run } */
extern void abort (void);
int
main (void)
{
int i;
void
foo (void)
{
#pragma omp master
i += 8;
}
i = 4;
foo ();
if (i != 12)
abort ();
return 0;
}