☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gfortran.dg
/
gomp
/
scope-5.f90
☽
☼
gcc/testsuite/gfortran.dg/gomp/scope-5.f90
code
plain
raw
1
! { dg-do compile }
2
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