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

20 lines
172 B
C

/* { dg-do run } */
void abort (void);
int main()
{
int x;
int *p;
p = &x;
#pragma omp parallel
{
if (p != &x)
abort ();
}
return 0;
}