blob: baddae51b421eaefe0c26d0298d16661eb23c243 [file] [log] [blame]
! { dg-do compile }
subroutine foo ()
integer f
f = 0;
!$omp scope firstprivate(f) ! { dg-error "firstprivate variable 'f' is private in outer context" }
f = f + 1
!$omp end scope
end