Retro68/gcc/libgomp/testsuite/libgomp.c/shared-3.c

20 lines
172 B
C
Raw Normal View History

2012-03-27 23:13:14 +00:00
/* { dg-do run } */
void abort (void);
int main()
{
int x;
int *p;
p = &x;
#pragma omp parallel
{
if (p != &x)
abort ();
}
return 0;
}