1 /* PR middle-end/49897 */
4 extern void abort (void);
9 int i
, j
, x
= 0, y
, sum
= 0;
10 #pragma omp parallel reduction(+:sum)
12 #pragma omp for firstprivate(x) lastprivate(x, y)
13 for (i
= 0; i
< 10; i
++)
17 #pragma omp parallel reduction(+:sum)
19 #pragma omp for firstprivate(y) lastprivate(y)
20 for (j
= 0; j
< 10; j
++)
28 if (x
!= 9 || y
!= 9 || sum
!= 450)