tree-optimization/113385 - wrong loop father with early exit vectorization
[official-gcc.git] / gcc / testsuite / gfortran.dg / gomp / scope-5.f90
blobbaddae51b421eaefe0c26d0298d16661eb23c243
1 ! { dg-do compile }
3 subroutine foo ()
4 integer f
5 f = 0;
6 !$omp scope firstprivate(f) ! { dg-error "firstprivate variable 'f' is private in outer context" }
7 f = f + 1
8 !$omp end scope
9 end