1 /* Integer reductions. */ 2 3 #define n 1000 4 5 int main(void)6main(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 } 17