blob: fdbbe0f735c99e0b61c61dc0ce7e048419cca121 [file] [log] [blame]
/* { 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;
}