Debian Codegraph @

gcc/testsuite/c-c++-common/goacc/reduction-5.c

raw
1 /* Integer reductions. */
2
3 #define n 1000
4
5 int
6 main(void)
7 {
8 int v1;
9
10 #pragma acc parallel reduction(+:v1) private(v1) /* { dg-error "invalid private reduction" } */
11 ;
12 #pragma acc parallel reduction(+:v1) firstprivate(v1) /* { dg-error "invalid private reduction" } */
13 ;
14
15 return 0;
16 }