c++: wrong error due to std::initializer_list opt [PR116476]
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr92347.c
blob13d16551b5ceb68328d3a771f1c7175fd7be4a88
1 /* Copied from PR 92347. */
2 /* { dg-do compile } */
3 /* { dg-additional-options "-O1 -fopenmp-simd" } */
4 /* { dg-additional-options "-mavx" { target { i?86-*-* x86_64-*-* } } } */
6 int by;
8 #pragma omp declare simd
9 int
10 zp (int);
12 void
13 qh (int oh)
15 #pragma omp simd
16 for (by = 0; by < oh; ++by)
17 by = zp (by);