blob: baddae51b421eaefe0c26d0298d16661eb23c243 (
plain)
1
2
3
4
5
6
7
8
9
|
! { 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
|