Lower zeroing array assignment to memset for allocatable arrays.
[official-gcc.git] / gcc / testsuite / c-c++-common / gomp / attrs-unroll-inner-4.c
blobc08985f48e045767db6250df062c3353d495e826
1 /* { dg-do compile { target { c || c++11 } } } */
2 /* { dg-additional-options "-std=c23" { target c } } */
4 extern void dummy (int);
6 void
7 test (void)
9 [[omp::directive (target parallel for collapse(2))]]
10 for (int i = -300; i != 100; ++i)
11 [[omp::directive (tile sizes(2, 3))]]
12 for (int j = 0; j != 100; ++j) /* { dg-error "not enough nested loops" } */
13 dummy (i);