☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
c-c++-common
/
gomp
/
scope-5.c
☽
☼
gcc/testsuite/c-c++-common/gomp/scope-5.c
code
plain
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
}