Debian Codegraph @

gcc/testsuite/g++.dg/gomp/pr101516.C

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