Debian Codegraph @

gcc/testsuite/gfortran.dg/gomp/scope-5.f90

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