1 /* PR middle-end/101535 */
7 #pragma omp target data map(to:a)
8 #pragma omp for lastprivate(i) /* { dg-error "lastprivate variable 'i' is private in outer context" } */
9 for (i
= 1; i
< 2; i
++)
17 #pragma omp target private(i)
18 #pragma omp for lastprivate(i) /* { dg-error "lastprivate variable 'i' is private in outer context" } */
19 for (i
= 1; i
< 2; i
++)
27 #pragma omp target firstprivate(i)
28 #pragma omp for lastprivate(i) /* { dg-error "lastprivate variable 'i' is private in outer context" } */
29 for (i
= 1; i
< 2; i
++)