3 // { dg-options "-fopenmp" }
8 #pragma omp parallel for
9 for (int& i = 0; i < 10; ++i) // { dg-error "invalid type for iteration variable" }
17 #pragma omp parallel for
18 for (int& i = j; i < 10; ++i) // { dg-error "invalid type for iteration variable" }