1 // PR c++/101516 2 3 void foo(int (& v)[])4 foo (int (&v) []) 5 { 6 #pragma omp parallel reduction (+:v) // { dg-error "invalid use of array with unspecified bounds" } 7 ; 8 } 9