OSDN Git Service

PR middle-end/25261
[pf3gnuchains/gcc-fork.git] / libgomp / testsuite / libgomp.c / shared-3.c
1 /* { dg-do run } */
2
3 void abort (void);
4
5 int main()
6 {
7   int x;
8   int *p;
9
10   p = &x;
11
12   #pragma omp parallel
13     {
14       if (p != &x)
15         abort ();
16     }
17
18   return 0;
19 }