Debian Codegraph @

gcc/testsuite/c-c++-common/gomp/scope-5.c

raw
1 /* { dg-do compile } */
2
3 void
4 foo ()
5 {
6 int f = 0;
7 #pragma omp scope firstprivate(f) /* { dg-error "firstprivate variable 'f' is private in outer context" } */
8 f++;
9 }